From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Aichner Newsgroups: gmane.emacs.devel Subject: Re: [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directory "1:") Date: Sun, 05 Nov 2006 14:09:23 +0100 Organization: The XEmacs Project Message-ID: References: <85irhz8adz.fsf@lola.goethe.zz> <4548BDB5.5080004@student.lu.se> <4548BE38.2000809@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1162732278 21123 80.91.229.2 (5 Nov 2006 13:11:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Nov 2006 13:11:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 05 14:11:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GghmL-00052j-2L for ged-emacs-devel@m.gmane.org; Sun, 05 Nov 2006 14:11:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GghmK-0006ZU-80 for ged-emacs-devel@m.gmane.org; Sun, 05 Nov 2006 08:11:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gghkh-0004io-PW for emacs-devel@gnu.org; Sun, 05 Nov 2006 08:09:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gghkg-0004f7-0G for emacs-devel@gnu.org; Sun, 05 Nov 2006 08:09:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gghkf-0004eW-Oc for emacs-devel@gnu.org; Sun, 05 Nov 2006 08:09:29 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gghkf-0005a1-8q for emacs-devel@gnu.org; Sun, 05 Nov 2006 08:09:29 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GghkX-0004dj-Nx for emacs-devel@gnu.org; Sun, 05 Nov 2006 14:09:21 +0100 Original-Received: from port-212-202-78-198.dynamic.qsc.de ([212.202.78.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Nov 2006 14:09:21 +0100 Original-Received: from adrian by port-212-202-78-198.dynamic.qsc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Nov 2006 14:09:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: port-212-202-78-198.dynamic.qsc.de X-Attribution: APA X-Face: 4[iHdXiTu\V3u[~\I)*}#kYF[-tYl3VZga/HSOP|K,{L Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9 =w|R6U3_;SH&B List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61820 Archived-At: "Juanma Barranquero" writes: > On 11/1/06, Lennart Borgman wrote: > >> But on the other hand (file-name-directory "é:") gives nil. > > (file-name-directory (string (multibyte-char-as-unibyte ?é) ?:)) > > => "\311:/" > > I guess `file-name-directory' is treating "é:" as unibyte, so its > second char is not `:', so it's not a drive:path. > > All in all, perhaps `file-name-directory' should check that the X in > X: is in the 'A'..'Z' range. Hi! CVS XEmacs now returns nil for invalid or unavailable drives. See http://calypso.tux.org/pipermail/xemacs-patches/2006-November/000036.html Adrian -- Adrian Aichner mailto:adrian@xemacs.org http://www.xemacs.org/