[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infinite loop on clearing PWD
From: |
Jan Engelhardt |
Subject: |
Re: Infinite loop on clearing PWD |
Date: |
Thu, 22 Apr 2010 10:06:57 +0200 (CEST) |
User-agent: |
Alpine 2.01 (LSU 1266 2009-07-14) |
On Saturday 2009-10-10 23:24, Mike Frysinger wrote:
>On Saturday 10 October 2009 17:14:30 jengelh@medozas.de wrote:
>>
>> Bash Version: 3.2
>> Patch Level: 39
>> Release Status: release
>>
>> 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
>
>works fine for me with bash-3.2_p39, 3.2_p48, and 4.0_p33. what are you using
>for your shell prompts and/or your prompt commands ? in other words, post the
>output of `set` before you run `unset PWD`.
This has been resolved. It seems to be one of my functions in PS1;
resetting it to something simple like PS1="\w" and then unsetting PWD
does complete.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Infinite loop on clearing PWD,
Jan Engelhardt <=