| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 26 Sep 2001 10:34:58 +0200 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | sandmann AT clio DOT rice DOT edu |
| Message-Id: | <6480-Wed26Sep2001103457+0300-eliz@is.elta.co.il> |
| X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
| CC: | djgpp-workers AT delorie DOT com |
| In-reply-to: | <10109260503.AA12393@clio.rice.edu> (sandmann@clio.rice.edu) |
| Subject: | Re: fixpath patch (fixes rm -rf disaster, retains deep directory usage) |
| References: | <10109260503 DOT AA12393 AT clio DOT rice DOT edu> |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Wed, 26 Sep 2001 00:03:45 -0500 (CDT) > > Here's an alternative patch which also seems to work on Win2K. It allows > you to use long directories without any problems I've observed. It's a > quick change to fixpath (which is called a bunch of places) to not call > getcwd and use truename instead. We cannot simply replace getcwd with _truename here: _truename returns a UNC for directories on networked drives, and some DOS calls on some supported systems, notably on plain DOS, don't support UNC's. _fixpath uses getcwd precisely for this reason.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |