diff options
author | Jim Meyering <jim@meyering.net> | 2006-11-18 20:00:39 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-18 20:00:39 +0100 |
commit | 0cafba44bbef7c5eb64979544a1ec95a389ec55f (patch) | |
tree | 7bfbb62a72231e651643c6545b5f00f697be1254 /lib | |
parent | 1a0333565f1a89d87b36e7a5c83bac9c145a9916 (diff) | |
download | coreutils-0cafba44bbef7c5eb64979544a1ec95a389ec55f.tar.xz |
"ln --backup f f" produces a misleading diagnostic:
ln: creating hard link `f' => `f': No such file or directory
* src/ln.c (do_link): Give a better diagnostic in this unusual case.
(do_link): Rename local: s/lstat_ok/dest_lstat_ok/.
* tests/ln/Makefile.am (TESTS): Add hard-backup.
* tests/ln/hard-backup: New test for the above.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions