[bug #62259] find(1) manpage prune example error

2022-10-23 Thread raf
Follow-up Comment #4, bug #62259 (project findutils): It looks like my "patches" didn't get included. I've just submitted a real patch for the manual entry and the texi file via git send-email. ___ Reply to this item at:

[PATCH] find: fix -L and -delete removing symlinks to directories

2022-10-23 Thread raf
Fixes https://savannah.gnu.org/bugs/?46305 * NEWS (Bug Fixes): Mention the change. * doc/find.texi (-delete action): Add explanation of the issue. * find/find.1 (-delete action): Add explanation of the issue. * find/pred.c (pred_delete): Do unlink when rmdir fails (ENOTDIR). * find/testsuite/Makef

[bug #46305] Doing "find -L . -type d -delete" fails on symlinks to directories.

2022-10-23 Thread raf
Follow-up Comment #4, bug #46305 (project findutils): Hi, I was just about to submit a bug report about this, and found this existing bug report. I think it's a shame that it has been set to WONTFIX. It's easy to fix, and fixing it would be in keeping with the principle of least astonishment. Lu

[PATCH] find: doc: Fix -prune SCM example and really make it efficient

2022-10-23 Thread raf
* find/find.1 - Fix explanation of -prune SCM example and make it efficient * doc/find.texi - Make -prune SCM example efficient --- NEWS | 5 + doc/find.texi | 6 +++--- find/find.1 | 19 ++- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/NEWS b/NE

[PATCH] find: fix -L and -delete removing symlinks to directories

2022-10-23 Thread raf
find: fix -L and -delete removing symlinks to directories Fixes https://savannah.gnu.org/bugs/?46305 * NEWS (Bug Fixes): Mention the change. * doc/find.texi (-delete action): Add explanation of the issue. * find/find.1 (-delete action): Add explanation of the issue. * find/pred.c (pred_delete): D