(rename): Use stat, not safe_stat.
authorJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:19:07 +0000 (13:19 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:19:07 +0000 (13:19 +0000)
commitd33ed582fc804afef36639a9fbcf8a3e242dc7b7
tree4ac1d429c8dd77ea1bb056b5dfb9311a88d85195
parent4217177afc596dc0d1005f9eea607834ef2ae5c4
(rename): Use stat, not safe_stat.
(rename): Compare src and dest inode numbers rather than src
inode and dest *dev* when determining whether src and dest refer
to the same file.  From marc@math.cornell.edu (Marc Parmet).
lib/rename.c