symlinks to unlinked but open files should work

Helmut Karlowski helmut.karlowski@ish.de
Fri Jul 1 20:40:00 GMT 2016


Cygwin seems to look up a symlink wrong:

When the target-file is unlinked while it is used by a process the file  
still exists and the symlink should point to that file.

Test:

ln -s out1 lout1
exec >lout1
rm out1
[[ -w /dev/fd/1 ]] || echo /dev/fd/1 not writable 1>&2
rm lout1

Only on cygwin it prints the message.

-Helmut

--

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list