bugGNU Octave - Bugs: bug #29424, help unavailable if current...

 
 

bug #29424: help unavailable if current working directory not writeable to user

Submitted by:  T. Finke <finke>
Submitted on:  Fri 02 Apr 2010 01:32:44 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: T. FinkeOpen/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Apr 2010 02:07:45 PM UTC, comment #1:

This is already fixed in 3.3.51.

Jaroslav Hajek <highegg>
Fri 02 Apr 2010 01:32:44 PM UTC, original submission:

how to reproduce the problem:

cd /
help help

this results in
- no help text being displayed
- an error message:
error: fwrite: invalid stream number = -1
error: called from:
error: /usr/share/octave/3.2.4/m/help/__makeinfo__.m at line 147, column 5
error: /usr/share/octave/3.2.4/m/help/help.m at line 62, column 25

Suggestion to FIX:

in the file "__makeinfo__.m" modify line 127 from

[fid, name, msg] = mkstemp ("octave_help_XXXXXX", true);

to

[fid, name, msg] = mkstemp ([ P_tmpdir(), filesep(), "octave_help_XXXXXX" ], true);

Then octave does not try to create a file in CWD.

Thanks for your great work and best regards

T. Finke

PS.: the problem had been described before somewhere on the internet (including a bugfix suggestion), but I can't find it again.

T. Finke <finke>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by highegg (Posted a comment)
  • -unavailable- added by finke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Apr 2010 02:07:45 PM UTChigheggStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1