Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm list-help: list-post: 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 X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Collins CC: cygwin-apps AT sourceware DOT cygnus DOT com Subject: Re: stackdump revisited References: <001b01bfe799$2dab0b20$f7c723cb AT lifelesswks> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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