[DGD] get_dir() oddity

bart at wotf.org bart at wotf.org
Tue Dec 18 03:05:29 CET 2007


Somewhere on my filesystem there is a file /cmd/comm/[@.c
Trying to do a compile_file() on it works fine, but a get_dir() somehow
doesn't work as expected.

ie get_dir("/cmd/comm/*") shows the file but get_dir("/cmd/comm/[@.c") returns
an empty array. On any other file it returns the filename, size and time as
array as expected.

Something like get_dir("/cmd/comm/?@.c") also shows the file.

That is the driver implementation of get_dir() btw. 

Any ideas why this is? Its specific to the [ in the name it seems.

Bart.
--
Created with Open WebMail at http://www.bartsplace.net/
Read my weblog at http://soapbox.bartsplace.net/




More information about the DGD mailing list