|
From: | Michael C. Grant |
Subject: | [Octave-bug-tracker] [bug #44694] prefdir returns a blank result on Windows 8 |
Date: | Thu, 02 Apr 2015 12:13:27 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.4.10 (KHTML, like Gecko) Version/8.0.4 Safari/600.4.10 |
Follow-up Comment #5, bug #44694 (project octave): I'm not sure it is necessary to guard against that case. I can't think of any practical use for changing those particular variables (in the very least because they are meaningless in UNIX). That said, "getenv('HOME')" returns the empty string on Windows in MATLAB, too. So this is not a compatibility issue. I think it is reasonable for the fix to be specific to the "prefdir" command. In my code I've decided to fall back on "tilde_expand" if "prefdir" returns an empty result. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44694> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |