Hash :
3df6da25
Author :
Date :
2025-03-21T13:15:55
parse-duration: Work around an strtoul() misfeature. * lib/parse-duration.c (str_const_to_ul): Reject a + or - sign between the optional whitespace and the digits. * tests/test-parse-duration.sh: Add some tests with expected failure. * tests/test-parse-duration.c (main): Fix usage message.