Bug#995023: improved patch: take care that the file doesn't exist on filesystems where link() fails

Andreas B. Mundt andi at debian.org
Sat Sep 25 17:01:14 BST 2021


Hi,

the patch provided before does not take into account that the file
may exists before we call link() on a file system where link() fails 
(and not with EEXIST).  In that case, we would use the already existing
file.

The attached patch makes sure we try a new file name in that case.

Regards,

  Andi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-for-sshfs.patch
Type: text/x-diff
Size: 1809 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20210925/eace1eff/attachment.patch>


More information about the pkg-gnome-maintainers mailing list