From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: 8.3 filename restriction Date: Fri, 26 Oct 2007 00:01:51 +0200 Message-ID: References: <87y7dwq7x9.fsf@catnip.gol.com> <87odepv21n.fsf@catnip.gol.com> <87ir4wjcev.fsf@catnip.gol.com> <47203C01.4070909@gmx.at> <20071025105328.GA17945@www.trapp.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1193349736 14019 80.91.229.12 (25 Oct 2007 22:02:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2007 22:02:16 +0000 (UTC) Cc: miles@gnu.org, rudalics@gmx.at, emacs-devel@gnu.org, handa@m17n.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 00:02:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IlAmL-0002Mb-KX for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 00:02:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlAmD-0005IZ-3T for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 18:02:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlAmA-0005Hv-Ia for emacs-devel@gnu.org; Thu, 25 Oct 2007 18:02:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlAm9-0005Hi-3L for emacs-devel@gnu.org; Thu, 25 Oct 2007 18:02:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlAm8-0005Hf-UK for emacs-devel@gnu.org; Thu, 25 Oct 2007 18:02:00 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlAm4-0003EI-ED; Thu, 25 Oct 2007 18:01:56 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-118-51.inter.net.il [84.229.118.51]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DYP06529 (AUTH halo1); Fri, 26 Oct 2007 00:01:49 +0200 (IST) In-reply-to: <20071025105328.GA17945@www.trapp.net> (tomas@tuxteam.de) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." 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:81725 Archived-At: > Date: Thu, 25 Oct 2007 10:53:29 +0000 > Cc: martin rudalics , eliz@gnu.org, emacs-devel@gnu.org, > miles@gnu.org > From: tomas@tuxteam.de > > > To my understanding, 8.3 name restriction actually means > > that all filenames (in the same directory?) must be > > distinguished by the first 8 (or 7? 6?) characters. So, > > idlw-complete-structtag.el is ok unless there's another file > > that starts with "idlw-complete". Is it right? > > Well.. the traditional DOS file system hadn't room for more. Whether the > command line chopped off the name, I don't know. It's not the command line that chops the file names, it's the system call itself. Any DOS system call that accepts a file name first canonicalizes it, and during that canonicalization the file name is truncated to 8+3 limits. Thus, if you later look for the chopped file name using the original long name, it will be chopped again, and the file will be found.