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

 
 

bug #37519: run() path without extension

Submitted by:  None
Submitted on:  Sun 07 Oct 2012 02:03:44 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Clemens BuchacherOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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

Closing this report since bug #39889 has been fixed.

Mike Miller <mtmiller>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Nov 2013 01:40:05 AM UTCmtmillerStatusDuplicate=>Fixed
      Open/ClosedOpen=>Closed
    Mon 30 Sep 2013 12:40:05 AM UTCmtmillerCategoryNone=>Octave Function
      StatusNone=>Duplicate
      Release3.6.1=>dev
      Dependencies-=>Depends on bugs #39889

    Back to the top


    Powered by Savane 3.1-cleanup