coreutils
[Top][All Lists]
Advanced

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

Re: Fwd: Bug#1015273: coreutils: rm -d doesn't try to remove unreadable


From: Pádraig Brady
Subject: Re: Fwd: Bug#1015273: coreutils: rm -d doesn't try to remove unreadable directories, lies in error message, with *fails to prompt* with -i
Date: Tue, 21 Feb 2023 16:20:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 21/02/2023 15:35, Jim Meyering wrote:
On Tue, Feb 21, 2023 at 4:45 AM Pádraig Brady <P@draigbrady.com> wrote:
On 21/02/2023 02:59, Jim Meyering wrote:
...
Thank you for the bug report.
I've attached a patch that fixes those bugs.

lgtm
modulo the commit summary line should start with rm: not rm ...
Do you have git hooks disabled?

Thanks for the speedy review. I did indeed. Fixed that, inserted a
colon, and pushed.

BTW, when I pulled latest, I see (but haven't investigated) a new
build failure using this recent gcc:
gcc version 13.0.1 20230219 (experimental) (GCC)

In function 'lseek_copy',
     inlined from 'copy_reg' at src/copy.c:1501:16,
     inlined from 'copy_internal' at src/copy.c:2961:13:
src/copy.c:485:23: error: 'scan_inference.ext_start' may be used
uninitialized [-Werror=maybe-uninitialized]
   485 |       off_t ext_end = lseek (src_fd, ext_start, SEEK_HOLE);
       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/copy.c: In function 'copy_internal':
src/copy.c:1165:24: note: 'scan_inference.ext_start' was declared here
  1165 |   union scan_inference scan_inference;
       |                        ^~~~~~~~~~~~~~

Ah I see your 6c03e8fbb2 was inadvertently reverted by d374d32c.
I've pushed the following to fix:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=afae7787f

cheers,
Pádraig



reply via email to

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