bugGNU Octave - Bugs: bug #37519, run() path without extension

 
 

bug #37519: run() path without extension

Submitter:  None
Submitted:  Sun 07 Oct 2012 02:03:44 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Clemens Buchacher Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Nov 2013 01:40:05 AM UTC, comment #2: 

Closing this report since bug #39889 has been fixed.

Mike Miller <mtmiller>
Group Member
Mon 30 Sep 2013 12:40:05 AM UTC, comment #1: 

Marking as duplicate of bug #39889. Even though this was reported first, the other bug now has more discussion activity.

Mike Miller <mtmiller>
Group Member
Sun 07 Oct 2012 02:03:44 PM UTC, original submission:  

Tested on computer('arch'): mingw32-i686 and gnu-linux-x86_64.

Matlab R2011b adds the .m extension automatically. Have not tested what happens if a file without extension exists, or if a file with extension .m.m exists (and extension .m is used). But preferring the exact match would make sense.

: >file.m
octave

> run('file')

no such file, `C:\...\file'
error: called from `run' in file C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\miscellaneous\run.m near line 55, column 7
error: called from:
error:   C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\miscellaneous\run.m at line 55, column 7

Expected result: Octave runs file.m.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-22 mtmiller StatusDuplicate Fixed
        Open/ClosedOpen Closed
    2013-09-30 mtmiller CategoryNone Octave Function
        StatusNone Duplicate
        Release3.6.1 dev
        Dependencies- Depends on bugs #39889

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code