octave-bug-tracker
[Top][All Lists]
Advanced

[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: Fri, 10 Aug 2018 19:26:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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

Thanks for the update. I've tested both implementations, works for me. I still
like the version that doesn't call the 'exist' function at all and is
consistent with other functions like 'fileattrib' that also use 'stat'.

One edge case example that doesn't work with the 'make_absolute_filename'
implementation:


cd /
isfolder ..



The copyright header is not correct, left over from isdir.m.

Should 'isfolder' be handled so that tab completion only shows directory and
file names? I think so.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54456>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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