delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/05/15:51:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Mark Gordon <spamtrap AT ruddygore DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: OT pondering (WAS: Re: Trailing Periods on File Names)
Date: Thu, 05 Apr 2001 20:31:40 +0100
Organization: Only Occasionally
Message-ID: <bdhpct8i4923ikkc9beeqevpe5epf3uf05@4ax.com>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010405144831 DOT 021f9008 AT pop DOT ma DOT ultranet DOT com> <3ACCC15F DOT 20606 AT earthlink DOT net>
In-Reply-To: <3ACCC15F.20606@earthlink.net>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id PAA03599

On Thu, 05 Apr 2001 14:02:55 -0500, you wrote:

>I agree with that, having seen this before, but I am curious... It seems that 
>such functionality did not get there by accident (I cannot think of a way to 
>ignore characters in a filename without some _extra_ coding), so it must have 
>been done for some purpose.  Yet I cannot for the life of me imagine what 
>benefit this produces, or what fault it would circumvent.  Anyone have ideas 
>as to this?

The reason is the way the original 8.3 file names are stored. As it
was stored as a fixed number of characters for the name and the
extension there was always an implicit dot which was _never_ stored in
the directory structure. To allow this to work file names and
extensions could not contain a dot except as the separator between the
file name and the extension.

Of course, there was extra code to pad files names out to 8 characters
and extensions to 3 characters...

I'm not saying the original directory structure was good, just what it
was. Of course for backwards compatibility (so that lusers work with
new versions of Windows) M$ have to continue to support these old
conventions.
-- 
Mark Gordon - To email me replace spamtrp with mark.gordon
	90% of being smart is knowing what you're dumb at.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019