delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; q=dns; s=default; b=g0b/ZMk6G0/9ktcBOpdN3aEUTlCAa | |
jCHFcVrYGOZdBJ5S6tK2f1fjJf4ktHq3FvDG+5oOQjm71TyLcEOByKloGoVxM+RO | |
v/pTC2g8WoQSdo/TbDyYpkEmvL2xVknMeZpkZymQgZ+xOMciOZtOh/7o5ccb04Bx | |
UGhBGV28PevGNY= | |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; s=default; bh=uhe9PGfLK5nMbDbxsi1v1AkjtQk=; b=Osd | |
12ZSlmm6/EtzSf1xF7dT3KGvluDOKNlMQUeCwSZXbR4sVz9hnSfWR1OvODXNWCtt | |
0+/O3soDZf9nn1MaqND94NJxYLKtW7rrA9rUkWFtkbsNJflY5BbGdoB9T7wdLbA3 | |
e43yh9zjkS0/Ljems+Ksu3Y2r8Y+Bw+cO7x5fmd0= | |
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=-1.8 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | nihxway2out.hub.nih.gov |
X-IronPortListener: | Outbound_SMTP |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | AhQFAAuK6lKcKEer/2dsb2JhbABZgwyBD4MBuiQYdBZ0giUBAQEDARIREUoLAgEIDQ0CBiACAgIdExUQAgQbGodbCKE1ih2gNxeBKY0oOIJvNYEUBI5jkDWLL4Mtgio |
From: | "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: second call to mmap() results in error |
Date: | Thu, 30 Jan 2014 17:24:06 +0000 |
Message-ID: | <5F8AAC04F9616747BC4CC0E803D5907D0C4763CC@MLBXv04.nih.gov> |
References: | <01a801cf1cfa$77957900$66c06b00$@lbmsys.com> <20140129181250 DOT GW2821 AT calimero DOT vinschen DOT de> <52E95786 DOT 8050606 AT gmail DOT com> <20140130095822 DOT GY2821 AT calimero DOT vinschen DOT de> <001801cf1db6$66c47c40$344d74c0$@lbmsys.com> <20140130124558 DOT GA2821 AT calimero DOT vinschen DOT de> <003801cf1dbd$fc3ffc70$f4bff550$@lbmsys.com> <20140130170142 DOT GD2821 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20140130170142.GD2821@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id s0UHOMVJ017659 |
> Adding the <unistd.h> fixes the problem in all its iterations I must be missing a point here, so what was the problem with the original test program (which BTW worked fine on my CYGWIN installation). Seems like <unistd.h> was not needed there? And how adding just <unistd.h> (w/o adding ftruncate(), IIUC) has made it work? Thanks, Anton Lavrentiev Contractor NIH/NLM/NCBI
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |