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 PAA12834; Wed, 26 May 2004 15:27:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA13112 for ; Wed, 26 May 2004 15:27:55 +0200 (MET DST) Received: from [128.93.8.158] (macaque.inria.fr [128.93.8.158]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4QDRsEV011189 for ; Wed, 26 May 2004 15:27:55 +0200 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <1085567689.25587.202.camel@pelican.wigram> References: <1085429093.6065.336.camel@pelican.wigram> <20040526110508.A17806@pauillac.inria.fr> <1085567689.25587.202.camel@pelican.wigram> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8026DB99-AF18-11D8-99ED-00039310CAE8@inria.fr> Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] unix.chop_extension Date: Wed, 26 May 2004 15:27:57 +0200 To: caml-list X-Mailer: Apple Mail (2.613) X-Miltered: at nez-perce with ID 40B49B5A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 chop:01 stdio:01 stdio:01 foobar:01 foobar:01 doligez:01 doligez:01 exists:01 unix:02 wrote:03 equivalent:05 equivalent:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On May 26, 2004, at 12:34, skaller wrote: > For example: > > #include > > Woops. stdio.h doesn't denote a file. Neither does ./stdio.h. What ??? "stdio.h" does denote a file, and "./stdio.h" does denote the same file. That file may or may not exist, but if you open it with either name, you will access the same file, whether it exists or not. > Neither does 'foobar'. "foobar" also denotes a file. > But either all are equivalent No, they are not equivalent. Opening "foobar" does not access the same file as opening "stdio.h". -- Damien ------------------- 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