guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] guile-readline: Use an empty string if HOME is unset


From: David Michael
Subject: Re: [PATCH] guile-readline: Use an empty string if HOME is unset
Date: Wed, 10 Sep 2014 14:06:15 -0400

On Wed, Sep 10, 2014 at 1:00 PM, Eli Zaretskii <address@hidden> wrote:
>> From: David Michael <address@hidden>
>> Date: Tue, 09 Sep 2014 17:28:42 -0400
>>
>> -(define-once history-file (string-append (getenv "HOME") "/.guile_history"))
>> +(define-once history-file
>> +  (string-append (or (getenv "HOME") "") "/.guile_history"))
>
> Is there any guarantee that the root directory will be writable?
>
> How about "./.guile_history" instead?

That is okay with me.  Do you want a new patch with s/""/"."/ and
s/empty string/current directory/?

Thanks.

David

P.S.  I resent the patch to bug-guile earlier so it got a bug number.
It's #18439.  Sorry for double-posting.



reply via email to

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