Dear bug-fileutils,

Not quite sure what's the correct way to submit a bug fix but... 

Here is a patch for src/ln.c, fileutils 4.1:

227c227
<       && (backup_type == none || !symlink)
---
>       && (backup_type == none || !symbolic_link)

Here is the behavior of ln before the patch:

$ > k
$ ./ln -f --backup k k
./ln: creating hard link `k' to `k': No such file or directory

and after the patch:

$ ./ln -f --backup k k
./ln: `k' and `k' are the same file

Regards,

Frederik Eaton

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to