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: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
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 08:54:33 +0000
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!
Pádraig.




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.