bugGNU Octave - Bugs: bug #44489, close.m contains function dir(f)

 
 

bug #44489: close.m contains function dir(f)

Submitter:  None
Submitted:  Sun 08 Mar 2015 11:31:19 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Ernst Reissner Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.4
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Mar 2015 03:13:56 AM UTC, comment #3: 

Thanks Dan. So this has been fixed since Octave 3.8.0, closing report.

Mike Miller <mtmiller>
Group Member
Mon 09 Mar 2015 02:40:52 AM UTC, comment #2: 

Here's the log history for the close file:

http://hg.savannah.gnu.org/hgweb/octave/log/57379fcc1aec/scripts/%40ftp/close.m

It looks like JWE fixed the function name problem a year and a half ago:

http://hg.savannah.gnu.org/hgweb/octave/rev/e7a9be8fdd21

Dan Sebald <sebald>
Mon 09 Mar 2015 01:59:33 AM UTC, comment #1: 

Thanks for your bug report. However, I'm not sure what bug you are reporting here. Is there a problem behavior you are seeing that is related to the close function?

An m-file may contain more than one function, but the main callable function must have the same name as the name of the m-file. The other functions are private and can be called as helper functions from the main function.

I'm also not seeing more than one function in close.m in Octave 3.6.4.

And lastly, 3.6.4 is quite an old version by now, can you upgrade to a current version of Octave and see if the problem you are experiencing has been fixed in a newer version?

Mike Miller <mtmiller>
Group Member
Sun 08 Mar 2015 11:31:19 PM UTC, original submission:  

As far as i know, each m-file must contain at least one function
with the same name as the file (without ending).

This is not the case with close.m.
I use octave/3.6.4.

Anonymous

 

(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 sebald (Posted a comment)
  • -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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-09 mtmiller StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2015-03-09 mtmiller CategoryLibraries Octave Function
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code