bugGNU Octave - Bugs: bug #36729, Ocatve's perl command does not...

 
 

bug #36729: Ocatve's perl command does not look for scripts in the path

Submitted by:  Kris Thielemans <krthie>
Submitted on:  Mon 25 Jun 2012 05:23:27 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Kris ThielemansOpen/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.

 

Fri 29 Jun 2012 03:47:37 PM UTC, comment #1:

Thanks for noticing this. I committed a patch to the development branch of Octave which fixes this for perl and python(http://hg.savannah.gnu.org/hgweb/octave/rev/c6ae30f73946). To access the fix you will need to build from Mercurial sources or wait until the 3.8.0 release.

Rik <rik5>
Project Administrator
Mon 25 Jun 2012 05:23:27 PM UTC, original submission:

perl('scriptfile') fails if scriptfile is not in the current directory but somewhere else in the load-path. This is different from matlab behaviour.

The attached script fixes that by using file_in_loadpath.

Kris Thielemans <krthie>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26104:  perl.patch added by krthie (1KiB - 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 krthie (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
    Fri 29 Jun 2012 03:47:37 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 25 Jun 2012 05:23:27 PM UTCkrthieAttached File-=>Added perl.patch, #26104

    Back to the top


    Powered by Savane 3.1-cleanup1