[Top][All Lists]

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

[Octave-bug-tracker] [bug #54456] Implementation of isfolder

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #54456] Implementation of isfolder
Date: Wed, 8 Aug 2018 13:43:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #2, bug #54456 (project octave):

I guess that's another bug in Octave, then, exist(..., 'dir') does not find
directories by name on the load path.

>> mkdir ('/tmp/foo');
>> exist ('foo', 'dir')
ans = 0
>> addpath ('/tmp');
>> exist ('foo', 'dir')
ans = 0
>> cd /tmp
>> exist ('foo', 'dir')
ans =  7

But we should not change that until we work out the differences between isdir
and isfolder, since other functions use isdir, and the logic may break if the
behavior of isdir changes unexpectedly.


Reply to this item at:


  Message sent via Savannah

reply via email to

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