[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33109] help doesn't work if current directory
From: |
Stephen Montgomery-Smith |
Subject: |
[Octave-bug-tracker] [bug #33109] help doesn't work if current directory is not writable |
Date: |
Sun, 17 Apr 2011 19:27:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101206 SeaMonkey/2.0.11 |
Follow-up Comment #1, bug #33109 (project octave):
Sorry, I mangled the diff
+verbitim+
diff -ur scripts/help-orig/__makeinfo__.m scripts/help/__makeinfo__.m
--- scripts/help-orig/__makeinfo__.m 2011-04-17 18:11:18.000000000 +0000
+++ scripts/help/__makeinfo__.m 2011-04-17 18:10:02.000000000 +0000
@@ -124,7 +124,7 @@
unwind_protect
## Write Texinfo to tmp file
- [fid, name, msg] = mkstemp ("octave_help_XXXXXX", true);
+ [fid, name, msg] = mkstemp (sprintf("%s/octave_help_XXXXXX",P_tmpdir()),
true);
fwrite (fid, text);
fclose (fid);
-verbitim-
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33109>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/