libc/winsup
Corinna Vinschen 647b92a7d4 * security.h: Declare internal_getpwsid and internal_getgrsid.
Undeclare internal_getpwent.  Define DEFAULT_UID_NT.  Change
	DEFAULT_GID.
	* passwd.cc (internal_getpwsid): New function.
	(internal_getpwent): Suppress.
	(read_etc_passwd): Make static.  Rewrite the code for the completion
	line.  Set curr_lines to 0.
	(parse_pwd): Change type to static int.  Return 0 for short lines.
	(add_pwd_line): Pay attention to the value of parse_pwd.
	(search_for): Do not look for nor return the DEFAULT_UID.
	* grp.cc (read_etc_group): Make static.  Free gr_mem and set
	curr_lines to 0.  Always call add_pwd_line.  Rewrite the code for the
	completion line.
	(internal_getgrsid): New function.
	(parse_grp): If grp.gr_mem is empty, set it to &null_ptr.
	Never NULL gr_passwd.
	(getgrgid32): Only return the default if ntsec is off and the gid is
	ILLEGAL_GID.
	* sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid.
	(cygsid_getfrompw): Clean up last line.
	(cygsid_getfromgr): Ditto.
	(is_grp_member): Use getpwuid32 and getgrgid32.
	* uinfo.cc (internal_getlogin): Set DEFAULT_GID at start.
	Use getpwsid. Move the read of /etc/group after the second access
	to /etc/passwd.  Change some debug_printf.
2002-11-20 17:10:05 +00:00
..
bz2lib * Makefile.in: Use MINGW stuff from Makefile.common. 2002-07-07 00:44:08 +00:00
cygserver * cygserver_transport_pipes.cc (transport_layer_pipes::accept): 2002-09-30 18:31:56 +00:00
cygwin * security.h: Declare internal_getpwsid and internal_getgrsid. 2002-11-20 17:10:05 +00:00
doc new entry: "Is there a better alternative to the standard console window?" (yes, rxvt) 2002-11-18 00:25:14 +00:00
mingw * include/math.h (sqrt): Remove inline definition. 2002-11-09 10:44:02 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite * Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where 2002-08-26 02:53:24 +00:00
utils * setfacl.c (usage): Add missing LF. 2002-11-08 10:22:58 +00:00
w32api * lib/uuid.c (CATID_InternetAware,CLSID_HttpSProtocol, 2002-11-16 03:04:41 +00:00
CYGWIN_LICENSE remove a comma 2002-05-12 19:29:20 +00:00
ChangeLog * Makefile.in (check): Be more defensive when creating testsuite config.status. 2002-09-28 03:15:44 +00:00
MAINTAINERS Nuke 2001-12-31 23:24:10 +00:00
Makefile.common * Makefile.in: Change COMPILE_C* definitions. 2002-08-17 02:15:05 +00:00
Makefile.in * Makefile.in (check): Be more defensive when creating testsuite config.status. 2002-09-28 03:15:44 +00:00
configure * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
configure.in * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00