mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
The predicates -used, -amin, -cmin, -mmin, -atime, -ctime, and -mtime dumped core via an assertion when passing a not-a-number argument. * find/parser.c (isnan): Add define. (get_relative_timestamp): Diagnose when the return value of xstrtod is not-a-number. Mention the missing parsers in the description of the function. * tests/find/arg-nan.sh: Add test. * tests/local.mk (all_tests): Reference it. * NEWS (Improvements): Mention the improvement. Reported by Jaehan Yoon in https://savannah.gnu.org/bugs/?64717