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

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

[Octave-bug-tracker] [bug #44682] Fullfile does not support network shar


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses
Date: Mon, 25 May 2015 16:21:53 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33

Follow-up Comment #21, bug #44682 (project octave):

I'm fine with the simpler solution, but then I'll add a stanza in the texinfo
header that fullfile.m does not do any validation whatsoever.

Anyway the proposed (by the OP) solution fails several tests, due to Carnë's
(fullfile's author) trick of strjoin-ing file parts with fileseps and
afterward removing all double fileseps. That trick, ingenious in itself,
introduces double fileseps all over the place, incl. in pos. 1 and 2.

So I'm afraid the final fix is going to be a little uglier :-(

I'll take some more time to think up a good solution. Maybe a preliminary
count of leading fileseps (before the strjoin) plus an "if
(nr_of_leading_fileseps >= 2)" would do the trick.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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