octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in file_in_path() ?


From: Michael Goffioul
Subject: Re: Bug in file_in_path() ?
Date: Tue, 07 Nov 2006 20:29:05 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

John W. Eaton a écrit :
On  7-Nov-2006, address@hidden wrote:

| Is it normal that file_in_path() (from utils.cc) unconditionnally returns
| the empty string? This makes \"exist\" fails to detect regular files.

No.  Please send an example of precisely what you are trying and how
it fails.

I'm trying to test if a regular file exists in the current octave's path. This should be possible with exist() function, as stated by the documentation. This fails
because:
   - Fexist() calls symbol_exist()
   - symbol_exist() calls file_in_path()
   - file_in_path() returns "" unconditionally

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]