reading from pipes fails if working directory is on a removable drive

mihau mh@mihau.de
Fri Apr 29 15:28:00 GMT 2016


On 29.04.2016 16:51, Marco Atzeri wrote:

> yes but you mentioned that the problem is only on the
> removable drive so the two versions should be different
> somewhere
> ;-)

oh yes, correct. my bad.

fixed drive:
$ strace -o pipe.strace cat test.txt | head
test

removable drive:
$ strace -o pipe.strace cat test.txt |head
       3 [main] head (4836) C:\gnu\cygwin\bin\head.exe: *** fatal error - MapViewOfFileEx '(null)'(0x618), Win32 error 6.  Terminating.
cat: write error: No space left on device
Segmentation fault

"No space left on device" is new, and, of course, wrong as there is actually plenty of free space left on this device

Michael

--
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