Date: Tue, 7 May 2002 14:05:08 -0700 (PDT) From: Adam Migus <amigus@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 10969 for review Message-ID: <200205072105.g47L58d47891@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10969 Change 10969 by amigus@amigus_ganymede on 2002/05/07 14:04:56 passwd and friends fail when the user has a '+' in their passwd file for NIS. It fails because _PWF_SOURCE is not set. This patch fixes it. This is also a bug in 5.0-CURRENT so someone should commit it to the main tree. Affected files ... ... //depot/projects/trustedbsd/mac/lib/libc/gen/getpwent.c#4 edit Differences ... ==== //depot/projects/trustedbsd/mac/lib/libc/gen/getpwent.c#4 (text+ko) ==== @@ -966,6 +966,9 @@ break; } break; + default: + _pw_passwd.pw_fields &= ~_PWF_SOURCE; + _pw_passwd.pw_fields |= _PWF_FILES; } if ((search == _PW_KEYBYNAME && strcmp(_pw_passwd.pw_name, name) == 0) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205072105.g47L58d47891>