GNU bug report logs - #59986
30.0.50; Can't trash file with broken symbolic link

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 12 Dec 2022 06:53:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #46 received at 59986-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: michael_heerdegen <at> web.de, 59986-done <at> debbugs.gnu.org
Subject: Re: bug#59986: 30.0.50; Can't trash file with broken symbolic link
Date: Fri, 16 Dec 2022 17:56:25 +0200
> Date: Fri, 16 Dec 2022 09:39:31 +0300
> From: Jean Louis <bugs <at> gnu.support>
> Cc: michael_heerdegen <at> web.de, 59986 <at> debbugs.gnu.org
> 
> I have manually applied that patch as I do not know how to
> apply it directly. Am I supposed to use `patch' command? 
> 
> I have tested your patch and it can delete dangling symlinks
> and moves them to Trash. And I could observe it adds ~N~ to
> file names, so it works well.
> 
>   lrwxrwxrwx 1    9 Dec 15 17:51 more -> something
>   lrwxrwxrwx 1    9 Dec 16 09:37 more.~1~ -> something
>   lrwxrwxrwx 1    9 Dec 16 09:37 more.~2~ -> something
>   -rwxr-xr-x 1 1.5K Sep 15  2018 
> 
> Thanks much.

Thanks for testing.  I've now installed the fix on the emacs-29
branch, and I'm therefore closing this bug.




This bug report was last modified 2 years and 217 days ago.

Previous Next


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