delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/12/07:54:28

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Mon, 12 Feb 2001 07:37:14 -0500
MIME-Version: 1.0
Subject: Re: Bash problem with SFN
Message-ID: <3A8792AA.26825.7F4B2@localhost>
References: <3A86B90D DOT 15400 DOT 11A13E4 AT localhost>
In-reply-to: <Pine.SUN.3.91.1010212092757.12969F-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

> On DOS or on Windows?

Windows.

> How does it avoid this?  Did you succeed to understand why does this
> problem happen?  If so, perhaps you could explain what causes it.

I avoid it by retrieving the current directory with getcwd so 'longlonglong' 
turns into 'longlong'. So a 'cd dir' changes the working directory to 
'/foo/longlong/dir' instead of '/foo/longlonglong/dir'.

Mark

- Raw text -


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