From 0dc1f4c6f377f5613ecbf8747014babc9814ebda Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 1 Dec 2009 12:02:11 +0100 Subject: rm: fix empty-name bug introduced with conversion to use fts While "rm ''" would properly fail, "rm F1 '' F2" would fail to remove F1 and F2, due to the empty string argument. This bug was introduced on 2009-07-12, via commit 4f73ecaf, "rm: rewrite to use fts". * gnulib: Update to latest, for fixed fts.c. * NEWS (Bug fixes): Describe it. * tests/rm/empty-name: Adjust for changed diagnostic. (mk_file): Define, copied from misc/ls-misc. (empty-name-2): New test, for today's fix. * lib/xfts.c (xfts_open): Reflect the change in fts_open, now that it no longer fails immediately when one argument is the empty string. Assert that the bit flags were not the cause of failure. * po/POTFILES.in: Remove xfts.c. * THANKS: Update. Reported by Ladislav Hagara. --- gnulib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnulib') diff --git a/gnulib b/gnulib index cf8ddf08d..cdfe647f8 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit cf8ddf08dec79be620c011ce204cbdb6bff35c50 +Subproject commit cdfe647f8d29540cdfe90cef0fa568c5d2fd4481 -- cgit v1.2.3-54-g00ecf