PERFORCE change 18544 for review

Robert Watson rwatson at freebsd.org
Wed Oct 2 15:59:50 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18544

Change 18544 by rwatson at rwatson_tislabs on 2002/10/02 08:58:58

	Selectively IFC NIS password fix from the main tree to the
	TrustedBSD base tree--don't pull in the rest since apparently
	there are build problems on their side of the fence.

Affected files ...

.. //depot/projects/trustedbsd/base/lib/libc/gen/pw_scan.c#6 integrate

Differences ...

==== //depot/projects/trustedbsd/base/lib/libc/gen/pw_scan.c#6 (text+ko) ====

@@ -35,7 +35,7 @@
 static char sccsid[] = "@(#)pw_scan.c	8.3 (Berkeley) 4/2/94";
 #endif /* LIBC_SCCS and not lint */
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/gen/pw_scan.c,v 1.22 2002/09/25 08:49:19 maxim Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/gen/pw_scan.c,v 1.23 2002/10/02 07:02:46 maxim Exp $");
 
 /*
  * This module is used to "verify" password entries by chpass(1) and
@@ -104,7 +104,7 @@
 			warnx("%s > max uid value (%lu)", p, ULONG_MAX);
 		return (0);
 	}
-	if (*ep != '\0' || ep == p) {
+	if (*ep != '\0') {
 		if (flags & _PWSCAN_WARN)
 			warnx("%s uid is incorrect", p);
 		return (0);
@@ -130,7 +130,7 @@
 			warnx("%s > max gid value (%lu)", p, ULONG_MAX);
 		return (0);
 	}
-	if (*ep != '\0' || ep == p) {
+	if (*ep != '\0') {
 		if (flags & _PWSCAN_WARN)
 			warnx("%s gid is incorrect", p);
 		return (0);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list