rename-dest-slash: fix NetBSD bug
authorEric Blake <ebb9@byu.net>
Thu, 1 Oct 2009 00:57:02 +0000 (18:57 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 2 Oct 2009 11:58:38 +0000 (05:58 -0600)
rename("hard1","hard2") mistakenly removed the hard link "hard1".

* lib/rename-dest-slash.c (rpl_rename_dest_slash): Detect hard
links.
* modules/rename-dest-slash (Depends-on): Add same-inode.

Signed-off-by: Eric Blake <ebb9@byu.net>

No differences found