bugGNU Octave - Bugs: bug #31171, file_in_path(".",...

 
 

bug #31171: file_in_path(".", filename) finds nothing on mingw32 build of Octave

Submitted by:  None
Submitted on:  Thu 30 Sep 2010 11:43:22 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Jouni SeppänenOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.2.4
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 30 Sep 2010 07:41:23 PM UTC, comment #1:

I think this is a duplicate of

https://savannah.gnu.org/bugs/index.php?30377

Do you have the oct2mat package installed? If so, try uninstalling or unloading the oct2mat package. If that does not solve the problem, reopen this bug report.

John W. Eaton <jwe>
Project Administrator
Thu 30 Sep 2010 11:43:22 AM UTC, original submission:

I am using the mingw32 build of octave 3.2.4. I was having trouble using imread, and while debugging I noticed that file_in_path fails to find files that are in the current directory if the path starts with dot. If I add another dot in the path, the files are found. In the Ubuntu build of octave 3.2 I don't observe this problem, so this could be specific to the mingw build.

Here is an example:

C:\>ver

Microsoft Windows XP [Version 5.1.2600]

C:\>octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.

Octave was configured for "i686-pc-mingw32".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave:1> file_in_path(".", "autoexec.bat")
ans = [](0x0)
octave:2> file_in_path(".;.", "autoexec.bat")
ans = .\autoexec.bat

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 jwe (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Sep 2010 07:41:23 PM UTCjweStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1