[Top][All Lists]

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

[Octave-bug-tracker] [bug #54508] isfile function needed for Matlab comp

From: Rik
Subject: [Octave-bug-tracker] [bug #54508] isfile function needed for Matlab compatibility
Date: Mon, 13 Aug 2018 17:45:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Update of bug #54508 (project octave):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #3:

I added the new function isfile here

It might be worth replacing these instances of exist with isfile or isfolder
that I found through grepping.

help/doc.m:81:          && ! exist ([info_file_name ".bz2"], "file"))
help/doc.m:116:%! if (exist (ifile) != 2 && exist (sprintf ("%s.gz", ifile))
!= 2)
miscellaneous/copyfile.m:144:%!   assert (exist (f2, "file"));
miscellaneous/grabcode.m:59:  if (exist (url) == 2)
/bin/grep: miscellaneous/isdir.m: No such file or directory
miscellaneous/movefile.m:157:%!   assert (exist (f2, "file"));
miscellaneous/open.m:77:      && any (exist (["open" tolower(ext(2:end))]) ==
[2 3 5 103]))
miscellaneous/publish.m:199:  if (exist (file, "file") != 2)
miscellaneous/publish.m:208:  if (exist ([file_name, file_ext]) != 2)
path/private/getsavepath.m:27:  if (exist (file) == 2)
pkg/private/install.m:507:          if (! exist (octm2, "dir"))
plot/util/print.m:334:  do_unlink = (exist (opts.name, "file") != 2);

But for now, I'm going to close this report as fixed.


Reply to this item at:


  Message sent via Savannah

reply via email to

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