diff liboctave/util/oct-glob.h @ 22155:289409b2992d

Allow dir to accept [ and ] in arguments. (bug #47950) * liboctave/util/oct-glob.{cc,h} (windows_glob): New function * libinterp/corefcn/dirfns.cc (__wglob__): New wrapper for the above * dir.m: Call __wglob__ instead of glob.
author Lachlan Andrew <lachlanbis@gmail.com>
date Sat, 16 Jul 2016 14:03:34 +1000
parents 949cb46e6bdb
children bac0d6f07a3e
line wrap: on
line diff
--- a/liboctave/util/oct-glob.h	Thu Jul 21 07:49:44 2016 -0400
+++ b/liboctave/util/oct-glob.h	Sat Jul 16 14:03:34 2016 +1000
@@ -37,6 +37,9 @@
 
     extern string_vector
     glob (const string_vector&);
+
+    extern string_vector
+    windows_glob (const string_vector&);
   }
 }