case sensitivity for file api

Vlad Dumitrescu XX (LN/EAB) <>
Thu Feb 9 14:18:14 CET 2006


hi!
 
I stumbled upon this problem, as I usually work on Windows and the files are in a ClearCase view on Unix:
 
()20> io:format("~s~n", [os:cmd("dir s*tcap*.erl")]).
2006-01-30  13:23               29ÿ899 sS7_Tcap.erl
2006-01-30  13:23               31ÿ722 ss7_tcap.erl
2006-01-30  13:23               33ÿ767 ss7_tcap_subsystem.erl
ok
()21> f(L),L=filelib:wildcard("s*tcap*.erl").        
["ss7_tcap.erl","ss7_tcap_subsystem.erl"]
 
I guess that filelib and file use the local file driver, which for Windows is case insensitive. But since the network drive's filesystem isn't, there is a problem...
 
Is there anything to do about it, except running the node on Unix?
 
regards,
Vlad
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060209/54567bb7/attachment.html>


More information about the erlang-questions mailing list