This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] spelling fix for struct passwd
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 18 Dec 2014 11:21:08 -0600
- Subject: [PATCH] spelling fix for struct passwd
- Authentication-results: sourceware.org; auth=none
This field is spelled pw_passwd on Linux, and I haven't found a
different spelling on other platforms (it is not mandated by POSIX).
Patch attached.
--
Yaakov
2014-12-18 Yaakov Selkowitz <yselkowitz@...>
* ntsec.xml (ntsec-logonuser): Fix spelling of pw_passwd field.
Index: ntsec.xml
===================================================================
RCS file: /cvs/src/src/winsup/doc/ntsec.xml,v
retrieving revision 1.18
diff -u -p -r1.18 ntsec.xml
--- ntsec.xml 10 Dec 2014 12:35:36 -0000 1.18
+++ ntsec.xml 18 Dec 2014 17:11:32 -0000
@@ -2311,7 +2311,7 @@ example:</para>
/* Use standard method on non-Cygwin systems. */
hashed_password = crypt (cleartext_password, salt);
if (!user_pwd_entry ||
- strcmp (hashed_password, user_pwd_entry->pw_password))
+ strcmp (hashed_password, user_pwd_entry->pw_passwd))
error_exit;
#endif /* CYGWIN */