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 JAA26572; Mon, 24 May 2004 09:10:00 +0200 (MET DST) 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 JAA26798 for ; Mon, 24 May 2004 09:09:59 +0200 (MET DST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4O78DSH024246 for ; Mon, 24 May 2004 09:09:58 +0200 Received: from [192.168.1.200] (ppp114-11.lns1.syd3.internode.on.net [150.101.114.11]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i4O789k2002281; Mon, 24 May 2004 16:38:11 +0930 (CST) Subject: Re: [Caml-list] Unix.stat problem From: skaller Reply-To: skaller@users.sourceforge.net To: Yutaka OIWA Cc: caml-list In-Reply-To: References: <1085378165.6065.249.camel@pelican.wigram> Content-Type: text/plain Message-Id: <1085382488.6065.252.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 24 May 2004 17:08:09 +1000 Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sourceforge:01 2004:99 yutaka:01 oiwa:01 2004:99 sourceforge:01 gcc:01 gcc:01 val:01 arggg:01 9660:01 glebe:01 ocaml:01 nsw:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 2004-05-24 at 16:08, Yutaka OIWA wrote: > Hi John, > > >> On 24 May 2004 15:56:05 +1000, skaller said: > > skaller> Unix.stat (or my brain:) isn't working correctly on my system: > skaller> CVS Ocaml, Linux, Redhat 9: > skaller> gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) > > So what you want is probably > > val lstat : string -> stats Arggg, my brain wasn't working. For some reason I considered lstat and got the whole concept backwards. Thanks! -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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