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

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

[Octave-bug-tracker] [bug #44694] prefdir returns a blank result on Wind


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #44694] prefdir returns a blank result on Windows 8
Date: Thu, 02 Apr 2015 11:24:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #4, bug #44694 (project octave):

It occurs to me that simply exporting HOME = HOMEDRIVE + HOMEPATH once when
Octave starts won't do the right thing if someone sets the HOMEDRIVE or
HOMEPATH environment variables in an Octave program and expects those to
change Octave's behavior.  So rather than expecting getenv ("HOME") to work, I
guess the correct thing is to provide a system dependent function that returns
the home directory location and use that consistently instead of getenv.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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