bugGNU Octave - Bugs: bug #33714, octave --path C:\ fails on mingw...

 
 

bug #33714: octave --path C:\ fails on mingw (3.4.2 and dev) when directory is drive root directory

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Tue 05 Jul 2011 01:19:46 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.2 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Jun 2013 02:25:30 AM UTC, comment #1: 

Is this still a problem with the 3.6.4 version of Octave on Windows?

Also, isn't this an interaction with the Mingw shell rather than with Octave?  The shell is probably turning "C:\" into "C:" before Octave ever sees it.

You might need to write "C:\\" so that the backslash is escaped from processing by the shell.

Rik <rik5>
Group administrator
Tue 05 Jul 2011 01:19:46 AM UTC, original submission:  

From command line (command prompt on windows)


Cmd prompt> octave -q --path C:\
octave:1> path


Octave's search path contains the following directories:

.
C:\Programs\OctaveBuild\libexec\octave\packages\odepkg-0.6.10\i686-pc-mingw32-ap
i-v44+
C:\Programs\OctaveBuild\share\octave\packages\odepkg-0.6.10
C:
C:\Programs\OctaveBuild\lib\octave\3.5.0+\site\oct\i686-pc-mingw32
C:\Programs\OctaveBuild\lib\octave\site\oct\api-v44+\i686-pc-mingw32
 <snip>


C: should be C:\
I have tried also E:\, the result is similar (E: but not E:\)

However,


Cmd prompt> octave -q --path C:\octave
octave:1> path
Octave's search path contains the following directories:

.
C:\Programs\OctaveBuild\libexec\octave\packages\odepkg-0.6.10\i686-pc-mingw32-ap
i-v44+
C:\Programs\OctaveBuild\share\octave\packages\odepkg-0.6.10
C:\octave
 <snip>

 
For the binaries octave 3.2.4 by Benjamin
octave --path (windows path)
does not work in any case.

Therefore the situation seems to be improved than  octave-3.2.
However, why >octave --path (windows path) fails when (window path) points drive root directory.

Any suggestions?

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  • -email is unavailable- added by tmacchant
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-01 rik5 Open/ClosedOpen Closed
        Summaryoctave --path C:\\ fails on mingw (3.4.2 and dev) when directory is drive root directory octave --path C:\ fails on mingw (3.4.2 and dev) when directory is drive root directory
    2013-06-22 rik5 StatusNone Need Info
        Summaryoctave --path C:\\ fails on mingw (3.4.2 and dev) when directory is drive root directory octave --path C:\ fails on mingw (3.4.2 and dev) when directory is drive root directory
    2011-07-05 tmacchant Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code