On 7/4/19, Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> wrote:
> The need for ~ (or $HOME for that matter) puts additional requirements on
> the platform which harms portability. I have always tried to minimize the
> number of environment variables used by GNU APL, in order to maximize
> usability.

Forgot to respond to this (quoted) part.  I appreciate and truly value
the strive for portability, but in this regard the proposed patch does
not change the status quo, since you already call for getenv("HOME")
in the UserPreferences::open_user_file() method.  And that's OK since
HOME is a very popular variable (sorry, cannot check right now what
POSIX says about it).  The patch does handle the situation, I hope
correctly, if it's not defined for some reason.

./danfe

Reply via email to