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

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

[Octave-bug-tracker] [bug #55725] help function fails when TMPDIR contai


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55725] help function fails when TMPDIR contains a space
Date: Sat, 16 Feb 2019 15:45:24 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55725>

                 Summary: help function fails when TMPDIR contains a space
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sat 16 Feb 2019 12:45:22 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When TMPDIR is set to a directory that contains a space, the help function
fails:


>> help abs
'abs' is a built-in function from the file libinterp/corefcn/mappers.cc

 -- abs (Z)
     Compute the magnitude of Z.

     The magnitude is defined as |Z| = 'sqrt (x^2 + y^2)'.

     For example:

          abs (3 + 4i)
               => 5

     See also: arg.

Additional help for built-in functions and operators is
available in the online version of the manual.  Use the command
'doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at https://www.octave.org and via the address@hidden
mailing list.
>> mkdir ("/tmp/Temporary Files");
>> setenv ("TMPDIR", "/tmp/Temporary Files");
>> help abs
could not open /tmp/Temporary: No such file or directory
could not open Files/octave-help-4m3MOb: No such file or directory
'abs' is a built-in function from the file libinterp/corefcn/mappers.cc



Additional help for built-in functions and operators is
available in the online version of the manual.  Use the command
'doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at https://www.octave.org and via the address@hidden
mailing list.


This bug is reproducible on any operating system, but is probably more likely
to affect Windows users than GNU/Linux or Unix users.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55725>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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