From owner-cvs-lib Mon Mar 10 08:47:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA01165 for cvs-lib-outgoing; Mon, 10 Mar 1997 08:47:25 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA01157; Mon, 10 Mar 1997 08:47:22 -0800 (PST) Date: Mon, 10 Mar 1997 08:47:22 -0800 (PST) From: Bill Paul Message-Id: <199703101647.IAA01157@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 97/03/10 08:47:21 Modified: lib/libc/gen getpwent.c Log: Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) bad style and b) the wrong logic. Should be strstr(s, "##") != NULL. (Note that the passwd.adjunct stuff has not been merged into 2.2 so this bug is not in that branch.) Revision Changes Path 1.38 +1 -1 src/lib/libc/gen/getpwent.c