summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1996-06-20 19:19:29 +0000
committerJulian Elischer <julian@FreeBSD.org>1996-06-20 19:19:29 +0000
commita0255957bf49be5d05204ae7ddd57c25148fb5df (patch)
tree4c35b25f9845d7b347dca3db59bf8649fdaece6a /libc
parent564e695073dd2d77ec86f0f1258a8b0559d77b17 (diff)
downloadpw-darwin-a0255957bf49be5d05204ae7ddd57c25148fb5df.tar.gz
pw-darwin-a0255957bf49be5d05204ae7ddd57c25148fb5df.tar.zst
pw-darwin-a0255957bf49be5d05204ae7ddd57c25148fb5df.zip
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!
Diffstat (limited to 'libc')
-rw-r--r--libc/gen/pw_scan.c4
1 files changed, 2 insertions, 2 deletions
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;