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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=YC3Fttie+/gMVeJlmqEABWpNMQeBqre86K9oqBC1hCaW2Bv838z6g | |
rmWp0EKsH9rkMQzfcn9nzBUwWh6DM0C4OZY+W1cy5Zo3EUNMt2VEnXSZ5F24hqRK | |
GGgGAK/er9EfwciH6fAZxfzRFslCXAwjLPwV9GRH4JYLuwvoYH36M0= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=v3oNxOBXaHQUYV6XDnQsOAuEeow=; b=pvaEhMT+ywO2lmOEikmeSi4ZwFPq | |
qnZahQnris3QAmBnIOCJqBhZFqpOAOPn9J3CP5CnL68o0V3wEpWucHrAB2cLU6RN | |
jfZJQdsBUSVBJod0epMJP0mQHsiNeEFsEd6MfRxm1DUBBhz4xnF6FxORoSivRg0r | |
qeyS6Ks6j/kJcEI= | |
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.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 |
X-HELO: | mho-02-ewr.mailhop.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1+evburhiPrcXwwENzsEo84 |
Date: | Thu, 30 Jan 2014 13:39:56 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: second call to mmap() results in error |
Message-ID: | <20140130183956.GA3573@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <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> <5F8AAC04F9616747BC4CC0E803D5907D0C4763CC AT MLBXv04 DOT nih DOT gov> <52EA9A53 DOT 2050203 AT cygwin DOT com> <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5 AT MLBXv04 DOT nih DOT gov> |
MIME-Version: | 1.0 |
In-Reply-To: | <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5@MLBXv04.nih.gov> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Thu, Jan 30, 2014 at 06:36:34PM +0000, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: >> Maybe you missed Corinna's reply? >> >> <http://cygwin.com/ml/cygwin/2014-01/msg00519.html> > >No, I did not. She was going after ftruncate() there. > >Yet, the problem seems to be in cygwin's <sys/mman.h>, which does this: > >#ifndef __INSIDE_CYGWIN__ >extern void *mmap (void *__addr, size_t __len, int __prot, int __flags, int __fd, off_t __off); >#endif > >which means that user code can't use the prototype. Why is it conditional? #if*n*def __INSIDE_CYGWIN__ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |