Hello,
I am confused about the rename managing hardlinks test.
It starts out with conftest.f as an empty file and conftest.fl as a hard
link to conftest.f.
Step 1:
rename ("conftest.f", "conftest.f1")
I would expect after a success, conftest.f would no longer exist, only
conftest.f1.
Step 2:
unlink ("conftest.f1")
Now I would expect confest.f1 to not exist after this.
Step 3 is what confuses me.
rename("conftest.f", "conftest.f") which is expected to work.
How can this succeed if "conftest.f" was removed in step 1?
Regards,
-John