bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12260: rm -d in coreutils 8.19


From: Robert Day
Subject: bug#12260: rm -d in coreutils 8.19
Date: Wed, 22 Aug 2012 23:23:49 +0100

It looks as though the bug is that the prompt() function does its own
checking, returning EISDIR unless x->recursive is set, and this code wasn't
updated with the addition of -d. I've attached a patch which fixes this bug
and adds a test of that code path. The fixes can also be retrieved from
https://github.com/rkd91/coreutils_rm_di_patch.

I haven't submitted patches for coreutils before; if there's somewhere else
I should post this patch to, I'm happy to be pointed there.

Best,
Rob

Attachment: rm.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]