Re: symlinks to unlinked but open files should work

2016-07-03 Thread Helmut Karlowski
Am 03.07.2016, 13:14 Uhr, schrieb Corinna Vinschen: You don't even need a symlink. This will show the same result: exec >out1 rm out1 [[ -w /dev/fd/1 ]] || echo /dev/fd/1 not writable 1>&2 I noticed that too meanwhile, but I thought you would not need that information ;) It's only ab

Re: symlinks to unlinked but open files should work

2016-07-03 Thread Corinna Vinschen
On Jul 1 22:40, Helmut Karlowski wrote: > 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 ]] ||