delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/29/11:04:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=uit7wrDv5AB6hZHH
ITe/NO4eeqn7TbWB/hQjS8x57kp7zsKne5UCtO7XKKzL4aBTaAUNnHpSB4Z4BO71
7ApIFPnyHIVv2oGVPS1AgPEoh/2BcyYkTwHB1ANcFlu9zXHot/Cud0CEMD34uorI
E97TDYVtghHrmAN4UmSU7rDAEwc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Ov1f0qheMlS5Io/9AHQMR9
7aTeo=; b=dp2Gz7v/m+AleBvw36OSs0gfYWIo31QkrE9ktyIHCOSWU0fqURt9/3
y75IXq2bfgLE5oIBlPbizG1fIm6Pdanm8HpB5FQxOFfu9K1ZssbRJSIl1B1WwBst
RiWLtF0xi1p7GejYYzR/fVTdp+EdZvbplZs0Itlh/nLScEb25Ugf4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*i:sk:23e2256, H*f:sk:23e2256, H*MI:sk:23e2256, H*r:TLS1.0
X-HELO: ms-10.1blu.de
Subject: Re: reading from pipes fails if working directory is on a removable drive
To: cygwin AT cygwin DOT com
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>
From: mihau <mh AT mihau DOT de>
Message-ID: <607b660c-6685-9680-ab8b-e718823384ff@mihau.de>
Date: Fri, 29 Apr 2016 17:04:27 +0200
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <23e22563-7667-6812-8784-670f00d55ea8@gmail.com>
X-Con-Id: 210367
X-Con-U: 0-mh
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019