This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/winsup/cygwin ChangeLog grp.cc passwd.cc p ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2003-01-26 05:38:38

Modified files:
	winsup/cygwin  : ChangeLog grp.cc passwd.cc pwdgrp.h uinfo.cc 
	winsup/cygwin/include/sys: strace.h 

Log message:
	* include/sys/strace.h (paranoid_printf): Define as not being part of "all"
	output.
	* pwdgrp.h (pwdgrp::next_num): Rename from next_int.  Returns true/false if
	parse operation succeeded.
	(pwdgrp::reparse): Remove.
	(pwdgrp::raw_ptr): New function.  Returns pointer in line.
	(pwdgrp::next_num): New functions for parsing other than unsigned long.
	* grp.cc (pwdgrp::parse_group): Reinstate previous parsing behavior.  Don't
	fill in fields with NULL and assign empty gr_mem to known pointer rather than
	doing a pointless calloc.  Streamline gr_mem parsing.  Don't increment
	curr_lines here.
	* passwd.cc (pwdgrp::parse_passwd): Use new behavior of next_num.  Don't
	increment curr_lines here.
	* uinfo.cc (pwdgrp::next_str): Keep returning EOL if out of data.
	(pwdgrp::reparse): Remove.
	(pwdgrp::next_num): Rename from next_int.  Return bool indicating success of
	parse, argument returns value parsed.
	(pwdgrp::add_line): Increment curr_lines here on successful parse.
	(pwdgrp::load): (from Pierre Humblet) Don't return status.  Just report it
	here.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1717&r2=1.1718
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=src&r1=1.68&r2=1.69
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/passwd.cc.diff?cvsroot=src&r1=1.62&r2=1.63
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pwdgrp.h.diff?cvsroot=src&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.106&r2=1.107
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/strace.h.diff?cvsroot=src&r1=1.16&r2=1.17


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]