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

 
 

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

Submitted by:  None
Submitted on:  Sun 08 Mar 2015 11:31:19 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Ernst Reissner Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
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>
Project Administrator
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Mar 2015 03:13:56 AM UTCmtmillerStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Mon 09 Mar 2015 01:59:33 AM UTCmtmillerCategoryLibraries=>Octave Function
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1