From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id DAA26310; Sat, 15 Nov 2003 03:49:12 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA26184 for ; Sat, 15 Nov 2003 03:49:10 +0100 (MET) Received: from mx2out.umbc.edu (mx2out.umbc.edu [130.85.25.11]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAF2n9112997 for ; Sat, 15 Nov 2003 03:49:10 +0100 (MET) Received: from allhosts (pcp01781388pcs.howard01.md.comcast.net [68.32.48.24]) by mx2out.umbc.edu (8.12.10/8.12.10/UMBC-Central 1.11 mxout 1.2.2.3 $) with ESMTP id hAF2n72Q014581 for ; Fri, 14 Nov 2003 21:49:08 -0500 (EST) Subject: Re: [Caml-list] GC and file descriptors From: Mike Furr To: caml-list@inria.fr In-Reply-To: <20031115082521.A12540@max.home> References: <70D8AC5D-16A8-11D8-BFCA-00039310CAE8@inria.fr> <3FB4ED56.6020804@univ-savoie.fr> <20031115082521.A12540@max.home> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vRjPWm1j7gPBWLylrRYC" Message-Id: <1068864547.22572.5.camel@orthrus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 14 Nov 2003 21:49:07 -0500 X-AvMilter-Key: 1068864849:ccb2f2b7d8f2ede08f3e1257130d6897 X-Avmilter: Message Skipped, too small X-Processed-By: MilterMonkey Version 0.9 -- http://www.membrain.com/miltermonkey X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 kirillov:01 eintr:01 bug:01 descriptors:01 wrote:03 max:06 fri:07 developers:08 recall:09 seem:10 U5:88 actually:11 code:15 mike:17 X-Attachments: type="application/pgp-signature" name="signature.asc" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --=-vRjPWm1j7gPBWLylrRYC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-11-14 at 21:25, Max Kirillov wrote: > According to 'man 2 close', it cannot. Sure it can: EINTR. And to prove this can actually can happen, just ask the squid(web proxy) developers. I seem to recall hearing a talk by one of them where they mentioned the failure to check the return code of close() resulted in a out-of-fd bug which took a _long_ time to track down. --=20 Mike Furr --=-vRjPWm1j7gPBWLylrRYC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/tZQj7ZPKKRJLJvMRAkEBAJ0Uxv/IZdJlaz/SVpZVisr0OHooWwCghbr4 oXgnvIXm/i5BsFoK1uvhYXc= =BWc4 -----END PGP SIGNATURE----- --=-vRjPWm1j7gPBWLylrRYC-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners