[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: |
Eli Zaretskii |
Subject: |
Re: [PATCH] guile-readline: Use an empty string if HOME is unset |
Date: |
Wed, 10 Sep 2014 20:00:15 +0300 |
> 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?