Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  filelib:wildcard/2

mickael.remond at erlang-
Posted: Sun May 01, 2005 8:41 pm Reply with quote
Guest
Hello,

I have been trying to use filelib:wildcard/2 in Erlang/OTP R10B-3.
The documentation says:

wildcard(Wildcard, Cwd) -> list()

Types Wildcard = filename() | dirname()
Cwd = dirname()

The wildcard/2 function works like wildcard/1, except
that
instead of the actual working dirctory, Cwd will
be used.

However, this feature does not seem to be implemented:
filelib:wildcard("*", "/") always return the content of the current
directory.

I hope this helps,

--
Micka

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum