octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49765] Windows CLI version octave tries to wr


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49765] Windows CLI version octave tries to write history to C:\
Date: Sun, 4 Dec 2016 19:32:49 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Update of bug #49765 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Attempting to write the history file to the root directory is not a bug in and
of itself. But maybe it is a bug that there is no fallback mechanism for
getting the user's home directory, or that it's not working in this scenario,
on Windows.

Having no HOME variable on a GNU system falls back to checking the pwent
database. On Windows, it is supposed to check HOME, followed by HOMEDRIVE and
HOMEPATH. If none of these environment variables are set, is there a system
call Octave can make to get the user's home directory?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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