OSDN Git Service

* include/sys/strace.h (paranoid_printf): Define as not being part of "all"
authorcgf <cgf>
Sun, 26 Jan 2003 05:38:37 +0000 (05:38 +0000)
committercgf <cgf>
Sun, 26 Jan 2003 05:38:37 +0000 (05:38 +0000)
commite0b8f8869b2397c3ad17fc3fd95e11ba8c6c7c97
treecd883550bcf870b2fdac78d8b1713218b98b10a7
parent6be3543333e1ae8571fee782b152f30a6dd0d698
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/grp.cc
winsup/cygwin/include/sys/strace.h
winsup/cygwin/passwd.cc
winsup/cygwin/pwdgrp.h
winsup/cygwin/uinfo.cc