[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

[MD:2807]NTEmacsen crashed, when expand-file-name.



On Wed, 19 Dec 2001 21:04:38 +0200, "Eli Zaretskii" <eliz@xxxxxxxxxxxxx> said:

> > From: Andrew Innes <andrewi@xxxxxxx>
> > Date: 17 Dec 2001 18:14:38 +0000
> > 
> > > Why is it better to look at the location of emacs.exe instead of the
> > > current drive?  The former could be a fallback, but why not try
> > > _getdisk first?
> > 
> > In NT-Emacs, they will give the same answer (or would, except MSVC
> > doesn't seem to provide a _getdisk function).  I made that change quite
> > a while ago to avoid problems where Emacs would change its cwd to the
> > directory where it needs to run or start a subprocess and then leave it
> > there until the next subprocess is started.
> 
> Thanks for the tips.
> 
> Do the changes below look right?  I installed them after testing in
> the MS-DOS version; could someone please see if the Windows version
> does TRT after this change?

Yes, the change is fine on Windows.

AndrewI