bugGNU Octave - Bugs: bug #40903, genpath output should be sorted...

 
 

bug #40903: genpath output should be sorted for MATLAB compatibility

Submitted by:  Ben Kurtz <bkurtz>
Submitted on:  Sun 15 Dec 2013 10:43:01 PM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Ben KurtzOpen/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.

 

Sun 15 Dec 2013 11:11:20 PM UTC, comment #1:

Minor, but a good point. I committed your change to the development branch of Octave here (http://hg.savannah.gnu.org/hgweb/octave/rev/181bbce78595). You will need to build from Mercurial sources or wait until the 4.2 release of Octave to see the change. Or you can just patch your local sources.

Rik <rik5>
Project Administrator
Sun 15 Dec 2013 10:43:01 PM UTC, original submission:

in matlab, the genpath function returns sorted output. Simplest method is to sort each directory listing before recursing. example patch attached, though it's super simple.

Ben Kurtz <bkurtz>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29928:  genpath_sorted.patch added by bkurtz (397B - application/octet-stream)

 

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 bkurtz (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
    Sun 15 Dec 2013 11:11:20 PM UTCrik5Severity3 - Normal=>2 - Minor
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 15 Dec 2013 10:43:01 PM UTCbkurtzAttached File-=>Added genpath_sorted.patch, #29928

    Back to the top


    Powered by Savane 3.1-cleanup1