]> git.ipfire.org Git - thirdparty/shadow.git/commit
* libmisc/strtoday.c: Add support for numerical dates, assuming
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 18 Mar 2010 11:53:49 +0000 (11:53 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 18 Mar 2010 11:53:49 +0000 (11:53 +0000)
commit0cbbdb32c412c1724405db89efdde2aebecd7ffd
treeb2c144c47adc259d542b528b71c24d58c287c3cc
parent79fa4f33432be450629d2eb905f3c3b04559c252
* libmisc/strtoday.c: Add support for numerical dates, assuming
they are already specified in number of days since Epoch. Return
-2 in case of errors to support the specification of -1.
* src/usermod.c, src/useradd.c: Adapt to the new error value of
strtoday().
* src/chage.c:  Remove isnum(). Adapt to the new error value of
strtoday(). Support for numerical dates is moved to strtoday().
ChangeLog
libmisc/strtoday.c
src/chage.c
src/useradd.c
src/usermod.c