ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/06/20:04:23

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
list-help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>
list-post: <mailto:cygwin-apps AT sourceware DOT cygnus DOT com>
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <39651F49.8A7EB911@ece.gatech.edu>
Date: Thu, 06 Jul 2000 20:07:37 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin-apps AT sourceware DOT cygnus DOT com
Subject: Re: stackdump revisited
References: <001b01bfe799$2dab0b20$f7c723cb AT lifelesswks>

Call me crazy, but aren't fd's 0,1 and 2 == stdin, stdout, stderr (in
some permutation)?

--Chuck

> Robert Collins wrote:
> 
> Thanks all for your patience with my stackdumping squid!
> 
> this time I have made real progress...
> squid goes thru the following loop when before it starts up the very
> first worker instance.
> ===
>     for (i = 0; i < Squid_MaxFD; i++)
>         close(i);
> ====
> 
> when i=2 it stackdumps. Are fd's 0, 1 and 2 reserved? I am looking
> into whether squid _needs_ to close these, or if it's an old hack
> still present..
> 
> Thanks in advance,
> Rob

- Raw text -


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