1bb5735b5e
*tp > LONG_MAX is never true, so replace that check with a test for strtol() setting errno == ERANGE (oddly, some ports' build swallowed this without warning). There's no guarantee that a time_t stores the same number of bits as a long, so check for an overflow there as well, and pass any error up. Discussed with christos, martin and mrg. |
||
---|---|---|
.. | ||
defs.h | ||
group.8 | ||
groupadd.8 | ||
groupdel.8 | ||
groupinfo.8 | ||
groupmod.8 | ||
main.c | ||
Makefile | ||
user.8 | ||
user.c | ||
useradd.8 | ||
userdel.8 | ||
userinfo.8 | ||
usermgmt.conf.5 | ||
usermgmt.h | ||
usermod.8 |