[Top][All Lists]

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

Re: init_buffer PWD fix

From: 宮下 尚:HIMI
Subject: Re: init_buffer PWD fix
Date: Thu, 25 Apr 2002 02:55:24 +0900
User-agent: T-gnus/6.15.4 (based on Oort Gnus v0.04) (revision 11) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.1 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/1.99 Alpha1 (AWOFUCHI)

Paul Eggert <address@hidden> writes:

>> From: MIYASHITA Hisashi(=?ISO-2022-JP?B?GyRCNVwyPBsoQiAbJEI+MBsoQjpISU1J?=)
>>  <address@hidden>
>> Date: Wed, 24 Apr 2002 19:30:35 +0900
>> I think that we MUST NOT use "PWD" environment variable to obtain
>> the current directory because it's never standardized.
> I'm not sure what you mean by "it's never standardized".  PWD is part
> of the POSIX standard.

Yes, you are correct.  "PWD" is reserved and required to be set by shell on
POSIX compliant systems.  Of course, I supposed the case on Windows in
that mail.

>  It's true that one can have a problem when
> mixing POSIX and non-POSIX shells, since the latter don't update PWD
> and this can cause PWD to become incorrect; but this is becoming less
> of an issue with time, and anyway Emacs does have a workaround for it.

It's one of problems when using Cygwin on Windows ;-).

  With regards,

from himi

reply via email to

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