]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/strtoday.c: strtoday(): Remove obsolete comment
authorAlejandro Colomar <alx@kernel.org>
Tue, 18 Feb 2025 14:43:29 +0000 (15:43 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 2 Jun 2025 07:59:51 +0000 (09:59 +0200)
commitbe719860537f698e2337eb7228ced278119bcdcb
tree753750f25a57ef04f83bf0b652b8736f97853e65
parent3d7812eb731de2420c05331da013ece1652a75a9
lib/strtoday.c: strtoday(): Remove obsolete comment

get_date() doesn't treat "" as a date anymore, so the comment is
obsolete.  We still need the code, though, as for example usermod(8)
uses an empty string as a synonym for -1.

Link: <https://github.com/shadow-maint/shadow/pull/1217#issuecomment-2668174079>
Reported-by: Chris Hofstaedtler <zeha@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/strtoday.c