From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id F16C1BC6B for ; Thu, 6 Sep 2007 09:10:08 +0200 (CEST) Received: from net.univ-savoie.fr (net.univ-savoie.fr [193.48.120.75]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l867A8ok003368 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 6 Sep 2007 09:10:08 +0200 Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by net.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id l8679tqP001844 ; Thu, 6 Sep 2007 09:09:55 +0200 Received: from [193.48.123.45] (d45.lama.univ-savoie.fr [193.48.123.45]) by post.bourget.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id l8679s79017770 ; Thu, 6 Sep 2007 09:09:55 +0200 Message-ID: <46DFA7C5.9020206@univ-savoie.fr> Date: Thu, 06 Sep 2007 09:09:57 +0200 From: Christophe Raffalli User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: skaller Cc: Oliver Bandel , caml-list@inria.fr Subject: Re: [Caml-list] Bug in Filename.basename? References: <20070905184538.88ada4e8.mle+ocaml@mega-nerd.com> <20070905104127.GB24323@furbychan.cocan.org> <20070905211013.b53cf46b.mle+ocaml@mega-nerd.com> <1188991526.46de922610e05@webmail.in-berlin.de> <20070905220031.5995251d.mle+ocaml@mega-nerd.com> <1189024766.46df13fed404a@webmail.in-berlin.de> <1189054365.9224.74.camel@rosella.wigram> In-Reply-To: <1189054365.9224.74.camel@rosella.wigram> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Miltered: at discorde with ID 46DFA7D0.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 bug:01 basename:01 hash:01 basename:01 chablais:01 73376:01 univ-savoie:01 ffi:01 unix:01 lama:01 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list members, I think that Filename.basename "a/b/c/" should return "c/" because ěf you write a trailing slash you meant that the filename represents a directory and this information should be preserved and accounted by all Unix and Filename calls so that your code can answer "this is not a directory" in some places. - -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI - --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature. The public key is stored on www.keyserver.net - --------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG36fFi9jr/RgYAS4RAkV2AJ4kA1/aeaA8YdRTaxbsmFgVQ1GC5ACfTIXZ IjQXaTvzCX7vXyFSFUwnR4I= =ixCX -----END PGP SIGNATURE-----