bugGNU Octave - Bugs: bug #46416, "methods" returns non...

 
 

bug #46416: "methods" returns non m-files from @classdir

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Tue 10 Nov 2015 06:06:51 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 08 Mar 2016 10:00:25 PM UTC, comment #2:

Fixed in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/ca8450b9ef5b). Apparently this code had not had a review in years.

Rik <rik5>
Project Administrator
Thu 26 Nov 2015 10:43:08 PM UTC, comment #1:

Confirmed. This appears to be a problem with the load_path::methods() function in C++.

Rik <rik5>
Project Administrator
Tue 10 Nov 2015 06:06:51 PM UTC, original submission:

If I have some files such as .txt, .png, .tst in "@myclass" dir, then they are incorrectly returned by "methods myclass".

Example:

Interestingly, "hello" which has no extension is not returned.

In Matlab, only m-files are returned---well I haven't checked their docs but certainly .txt, .md, .png, .tst and no extension are ignored.

Colin Macdonald <cbm>

 

(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 rik5 (Posted a comment)
  • -unavailable- added by cbm (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Mar 2016 10:00:25 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 26 Nov 2015 10:43:08 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1