src/winsup/utils ChangeLog passwd.c

corinna@cygwin.com corinna@cygwin.com
Fri Jun 14 04:31:00 GMT 2002


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2002-06-14 04:31:35

Modified files:
	winsup/utils   : ChangeLog passwd.c 

Log message:
	* passwd.c: Rearrange includes to avoid unnecessary warnings.
	(GetPW): Add parameter to (dis)allow printing of Windows username.
	Use defines instead of numerical constants where possible.
	Try avoiding impersonation problem.  Rearrange to print Windows
	username only if it's different from Cygwin username.
	(ChangePW): Use defines instead of numerical constants where possible.
	(main): Call GetPW with additional parameter.  Change error text.
	
	* passwd.c (GetPW): Handle case of user-edited /etc/passwd
	with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.169&r2=1.170
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/passwd.c.diff?cvsroot=src&r1=1.5&r2=1.6



More information about the Cygwin-cvs mailing list