http://bugs.winehq.org/show_bug.cgi?id=19809
--- Comment #10 from Peter Dons Tychsen donpedro@tdcadsl.dk 2009-09-07 13:18:01 ---
Oddly, when I run an app with output redirected to a disk file, cygwin tries to look up the posix path associated with the file descriptor, it now gets "some disk file".
Please give an example. I have tried several piping manoeuvres in cygwin with no bad outcome.
I have discovered though that there is another problem in handle_to_fn() which might be causing what you are seeing (and the TAR problem). NtQueryInformationFile() is not fully implented, and causes problems. I have written another patch for that though, and should be unrelated to this. The other patch is not finished however, and i am not sure it will fix your problem completely.
Again, please post a failing example.
Thanks,
/pedro