since user can put information in the password file (gecos field)
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 21 Dec 1988 15:10:48 +0000 (07:10 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 21 Dec 1988 15:10:48 +0000 (07:10 -0800)
can get overrun and produce bad results; also, increase max line length to
1024, since gecos field used by lots of places for extra information.
bug report 4.3BSD-tahoe/bin/13

SCCS-vsn: lib/libc/gen/getpwent.c 5.4

usr/src/lib/libc/gen/getpwent.c

index 21d1a17..3536ac5 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)getpwent.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)getpwent.c 5.4 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>