GNU bug report logs - #15926
RFE: unlink command already uses 'unlink' call; make 'rm' use 'remove' call

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Tue, 19 Nov 2013 11:58:02 UTC

Severity: normal

Tags: notabug, patch

Merged with 15943

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 15926 <at> debbugs.gnu.org
Subject: bug#15926: RFE: unlink command already uses 'unlink' call; make 'rm' use 'remove' call
Date: Thu, 21 Nov 2013 12:01:25 +0100
On 11/21/2013 09:54 AM, Pádraig Brady wrote:
> On 11/21/2013 12:03 AM, Bernhard Voelker wrote:
>>             if (dot_or_dotdot (last_component (ent->fts_accpath)))
>>               {
>> -              error (0, 0, _("cannot remove directory: %s"),
>> -                     quote (ent->fts_path));
>> +              error (0, 0,
>> +                     _("refusing to remove %s or %s directory: skipping %s"),
>> +                     quote_n (0, "."), quote_n (1, ".."),
>> +                     quote_n (2, ent->fts_path));
>
> That's a good clarification. Please push.

Thanks, pushed:

  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=2da7009d

Have a nice day,
Berny




This bug report was last modified 6 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.