[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init_buffer PWD fix

From: Jason Rumney
Subject: Re: init_buffer PWD fix
Date: 22 Apr 2002 22:16:45 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Keiichiro Nagano (永野圭一郎) <address@hidden> writes:

> > PWD is unreliable on all platforms, but Emacs works around the problem
> > with a similar method on all platforms by statting $PWD and ".", and
> > using $PWD only if stat results agree.  What is the problem with
> > this workaround on Windows?
> You cannot get st_ino which makes sence (without cygwin1.dll).
> Compile stattest.c on Windows by MSVC (cl.exe), and you will see:

Emacs does not use the system stat() on Windows.  It is redefined in
w32.c, because we know the standard Windows one is buggy.  Are you
saying there are bugs in that implementation of stat()?

Jason Rumney

reply via email to

[Prev in Thread] Current Thread [Next in Thread]