This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: reading from pipes fails if working directory is on a removable drive
- From: mihau <mh at mihau dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Apr 2016 17:04:27 +0200
- Subject: Re: reading from pipes fails if working directory is on a removable drive
- Authentication-results: sourceware.org; auth=none
- References: <3429db07-294c-a42a-f131-45016ecf5af9 at mihau dot de> <fdc2df23-276c-6a43-b28c-6ea1fd182080 at gmail dot com> <b1f2ef81-10cb-2d81-995c-1d517e223045 at mihau dot de> <cc21c1be-e93d-a92b-065b-4ed2b4c0dc5e at gmail dot com> <3f5bb698-9a4e-e9f9-beff-8ed517862f45 at mihau dot de> <60a8df83-76c5-ef66-60b2-818cadf24f81 at gmail dot com> <727dfc22-b568-bc55-7b03-8938db0cfd35 at mihau dot de> <23e22563-7667-6812-8784-670f00d55ea8 at gmail dot com>
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