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

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

[Octave-bug-tracker] [bug #47950] glob and dir functions are unable to e


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows
Date: Thu, 14 Jul 2016 22:39:02 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #29, bug #47950 (project octave):

Philip, so does this produce the same effect (assuming I got the real
directory right)?


>> x = __wglob__ ('C:\Users\philip\java')
x =
{
  [1,1] = C:Usersphilipjava
}


If I'm reading the patch right the intent is to translate all backslash
characters into slashes, call glob, and then translate slashes in the results
back into backslashes.

Lachlan, is that right? Am I reading something wrong or does it appear that
this patch has two blocks at the end that are doing the same thing, one using
std::replace_if and one using a for loop?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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