[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: init_buffer PWD fix
From: |
Eli Zaretskii |
Subject: |
Re: init_buffer PWD fix |
Date: |
Tue, 23 Apr 2002 14:00:49 +0300 (IDT) |
On Tue, 23 Apr 2002, MIYASHITA Hisashi wrote:
> But, in the first place, is this code necessary on all platform?
> Even now, is it really efficient on almost all of the platforms?
> I don't think we should stick to such hacked code for the simple
> job to get the current directory.
I think Emacs does that because the system call invoked by `getcwd' is
much slower on Unix than an access to the environment variables followed
by a call to `stat'. If that is no longer true, we could as well remove
the `getenv' part and call `getcwd' directly.
However, the case of calling `stat' on directories should be fixed in the
Windows port anyhow, IMHO, even if it is irrelevant to the issue of PWD.
- Re: init_buffer PWD fix, (continued)
- Re: init_buffer PWD fix, Paul Eggert, 2002/04/22
- Re: init_buffer PWD fix, Eli Zaretskii, 2002/04/22
- Re: init_buffer PWD fix, Paul Eggert, 2002/04/22
- Re: init_buffer PWD fix, Eli Zaretskii, 2002/04/23
- Re: init_buffer PWD fix, Jason Rumney, 2002/04/22
- Re: init_buffer PWD fix, Eli Zaretskii, 2002/04/23
- Re: init_buffer PWD fix, 永野圭一郎, 2002/04/22
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/23
- Re: init_buffer PWD fix,
Eli Zaretskii <=
- Re: init_buffer PWD fix, Richard Stallman, 2002/04/24
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/24
- Re: init_buffer PWD fix, Paul Eggert, 2002/04/23
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/24
- Re: init_buffer PWD fix, Paul Eggert, 2002/04/24
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/24
- Re: init_buffer PWD fix, Eli Zaretskii, 2002/04/24
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/24
- Re: init_buffer PWD fix, Eli Zaretskii, 2002/04/24
- Re: init_buffer PWD fix, 宮下 尚:HIMI, 2002/04/24