diff options
author | Eric Blake <ebb9@byu.net> | 2007-08-05 12:22:14 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2007-08-05 12:22:14 +0000 |
commit | 4859cfca404f2e51b53f5696b70f7b845a69af69 (patch) | |
tree | 4bb3b69c0371902f66fb0fbdf89f631a8276caf4 /NEWS | |
parent | 756cecd45b0545ad52345507592cfa3c9f97a0ad (diff) | |
download | findutils-4859cfca404f2e51b53f5696b70f7b845a69af69.tar.gz |
Fix Savannah bugs #20662, 20688.
* find/find.c (at_top): Avoid memory leak.
* find/pred.c (do_fprintf, pred_iname, pred_name): Likewise.
(pred_name_common): New function, factored from pred_iname and
pred_name.
* find/parser.c (check_name_arg): Let -nowarn silence -name /.
* locate/locate.c (visit_basename): Avoid memory leak.
* NEWS: Document the changes.
* doc/find.texi (Warning Messages): Document -nowarn's effect on
-name and -iname.
* find/testsuite/find.gnu/name-slash.exp: New test, to ensure
20662 doesn't regress on '-name /', and that 20688 silences the
warning.
* find/testsuite/find.gnu/printf-slash.exp: Likewise.
* find/testsuite/find.gnu/name-slash.xo: Expected results.
* find/testsuite/find.gnu/printf-slash.xo: Likewise.
* find/testsuite/Makefile.am (EXTRA_DIST_XO, EXTRA_DIST_EXP):
Distribute new tests.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,11 +27,18 @@ does not follow the POSIX rules of doing likewise. updatedb, frcode and code now complies with the GNU Project's coding standards. +#20662: Avoid memory leak in find -name and other places affected by +gnulib dirname module. The leak had been present since 4.3.1. + ** Enhancements #20594: Allow fine-tuning of the default argument size used by xargs and find at ./configure time. +#20688: The warning printed by -name or -iname when the pattern to + match contains a slash can now be silenced by -nowarn. This warning + was originally introduced unconditionally in 4.2.21. + ** Documentation Fixes Point out more explicitly that the subsecond timestamp support |