OSDN Git Service

* syscalls.cc (rename): Move and add text to comment about testing
authorcorinna <corinna>
Thu, 2 Aug 2007 11:11:34 +0000 (11:11 +0000)
committercorinna <corinna>
Thu, 2 Aug 2007 11:11:34 +0000 (11:11 +0000)
commitb723a45b88eba105c05f3950edbc93b85841e02c
tree5fb956f25366983edf8d3467113651ca1c1c52d5
parentd12b596d438a088346817bd21be1bf3a2292d59e
* syscalls.cc (rename): Move and add text to comment about testing
oldpath and newpath referring to the same file.  Test if oldpath
has more than one hardlink before opening oldpath (idea by Eric Blake).
Reorder test so that file id is tested before volume serial number.
winsup/cygwin/ChangeLog
winsup/cygwin/syscalls.cc