www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/24/08:44:27

Date: Thu, 24 Oct 1996 14:22:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: LFN under W95 (longish)
In-Reply-To: <326EACCC.22@gbrmpa.gov.au>
Message-Id: <Pine.SUN.3.91.961024141615.9865I-100000@is>
Mime-Version: 1.0

On Thu, 24 Oct 1996, Leath Muller wrote:

> never
> have had the problem you are talking about...well, never noticed it
> anyway...

It only happens for some filenames, but not for others.

> I think that when you are programming (this is IMHO) you should decide
> if your going to use either LFN or not...if your not, chose different 
> short filenames, otherwise, use different long ones. It just seems 
> logical to me that you shouldn't _mix_ the two to start with, which is 
> why W95 probably screwes up the short filename, expecting you to use 
> long filenames all the time, not just some of the time...

That's a misunderstanding.  DJGPP doesn't mix short and long filenames.  
When it runs with LFN support, it consistently uses *only* the LFN 
functions for all file I/O.  However, a name like `Makefile' is a valid 
long filename.  In fact, even `x' is a valid long filename, since they 
*can* be longer than 8+3, but don't *have* to be longer.

> Basically, I tested everything I could think of, rename, save as, save,
> etc
> etc...

You just didn't hit the right filename, I guess.

> Maybe you have an old version of Win95 Eli? Or something, because I
> can't seem to reproduce your error. Your exact example from your post
> didnt break either... :|

What do you get with these:

	del Makefile~
	del Makefile
	touch Makefile
	dir
	ren Makefile Makefile~
	dir

- Raw text -


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