[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31171] file_in_path(".", filename) finds noth
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31171] file_in_path(".", filename) finds nothing on mingw32 build of Octave |
Date: |
Thu, 30 Sep 2010 11:43:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3 |
URL:
<http://savannah.gnu.org/bugs/?31171>
Summary: file_in_path(".", filename) finds nothing on
mingw32 build of Octave
Project: GNU Octave
Submitted by: None
Submitted on: Thu 30 Sep 2010 11:43:22 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Jouni Seppänen
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
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 <address@hidden> (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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31171>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31171] file_in_path(".", filename) finds nothing on mingw32 build of Octave,
anonymous <=