Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <006401bfdf74$a5028770$f7c723cb@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <cygwin@sourceware.cygnus.com>
References: <39575D69.A83E2E12@kbotd.ru>
Subject: Re: cygwin1.dll (v1.1.2): dup2() with invalid newfd lead to exception: STATUS_ACCESS_VIOLATION
Date: Mon, 26 Jun 2000 23:44:20 +1000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Alex,
    you can work around this with my patch for Squid for NT, which works
around thisthis, and fixes an issue with non-blocking io. You can get it via
CVS from http://squid.sourceforge.net or as a diff and with instructions
from http://www.ideal.net.au/~collinsdial. You will need autoconf, automake
and perl as well - I suggest you get them via rebum's cygwin rpm pages.

Rob

<...>
Subject: cygwin1.dll (v1.1.2): dup2() with invalid newfd lead to exception:
STATUS_ACCESS_VIOLATION


Hi!
I have loaded the last version of the environment CygWin and attempted to
compile SQUID-2.3.STABLE3. In the configurator SQUID there is a piece of the
code: " checking Maximum number of filedescriptors we can open ", this code
utillize the function dup2(), which one with invalid value of argument
reduces to in crash of the program instead of returning an error code.
Piece of this code:
<..>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

