Eric Blake <[EMAIL PROTECTED]> wrote:
> I've noticed that Jim just committed a patch based on a bug originally
> reported through the debian tracker without any additional mention here:
>
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=c0c8685
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343652

BTW, my first reflex was to write a rename wrapper.
Unfortunately, with that you have to choose between
a racy implementation and an imperfect openat/renameat-based one
(imperfect because openat fails when the parent dir isn't readable).
Well, there is one other choice: always strip trailing slashes on SRC,
but imho, penalizing every rename sycall under Linux is not an option,
especially when I prefer the Linux rename syscall semantics.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to