bug-bash
[Top][All Lists]
Advanced

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

Re: Infinite loop on clearing PWD


From: Marc Herbert
Subject: Re: Infinite loop on clearing PWD
Date: Mon, 12 Oct 2009 16:45:57 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

jengelh@medozas.de a écrit :
> Description:
>       bash enters into an infinite loop when the environment variable PWD
>       is unset. Probably not a smart thing to do, but since this variable
>       is so important, it should probably be ensured that it does not get
>       an empty value. (It does handle non-absolute paths in some random
>       fashion, too.)
> 
> Repeat-By:
>       $ unset PWD

Fix = readonly PWD  ?








reply via email to

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