]> sourceware.org Git - newlib-cygwin.git/commit
* passwd.c: Rearrange includes to avoid unnecessary warnings.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 14 Jun 2002 11:31:33 +0000 (11:31 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 14 Jun 2002 11:31:33 +0000 (11:31 +0000)
commit94a23f4860453f8914ea23b75ab1f6850bf53ccc
treead6fbe963528234db581e1e82ad2c5b41f18fdfb
parentd61bc7aad81d72b6daa4b336eb9206c8e77f8d84
* 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, ...).
winsup/utils/ChangeLog
winsup/utils/passwd.c
This page took 0.029465 seconds and 5 git commands to generate.