From a0255957bf49be5d05204ae7ddd57c25148fb5df Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Thu, 20 Jun 1996 19:19:29 +0000 Subject: Submitted by: archie@whistle.com This program should COMPLAIN about uids > 65K but not abort.. they are after all legal, and some of us NEED them! --- libc/gen/pw_scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc') diff --git a/libc/gen/pw_scan.c b/libc/gen/pw_scan.c index 9d280f7..00f640b 100644 --- a/libc/gen/pw_scan.c +++ b/libc/gen/pw_scan.c @@ -83,7 +83,7 @@ pw_scan(bp, pw) } if (id > USHRT_MAX) { warnx("%s > max uid value (%d)", p, USHRT_MAX); - return (0); + /*return (0);*/ /* THIS SHOULD NOT BE FATAL! */ } pw->pw_uid = id; @@ -93,7 +93,7 @@ pw_scan(bp, pw) id = atol(p); if (id > USHRT_MAX) { warnx("%s > max gid value (%d)", p, USHRT_MAX); - return (0); + /* return (0); This should not be fatal! */ } pw->pw_gid = id; -- cgit v1.2.3-56-ge451