Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <006401bfdf74$a5028770$f7c723cb@lifelesswks> From: "Robert Collins" To: References: <39575D69 DOT A83E2E12 AT kbotd DOT 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 AT sourceware DOT cygnus DOT com