This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]