www.delorie.com/djgpp/bugs/show.cgi | search |
While testing the fix for the network drive bug with LFN, I noticed that the stat function returns success on files that contain wildcards, where the result is just the data for the first file matched. This is independent of whether LFN is active or not. The same bug is present in bcc 4.5, but is not present in Watcom 10.0.
The obvious workaround for this problem would be to check if the filename contains * or ? (this seems to be the solution Watcom uses), but I'm not sure how files containing wildcards should be handled when they are present (e.g. with samba from a unix fs).
I believe this problem is solved in v2.01. If you think otherwise, find an example and mail me.
Solved in v2.01; upgrade.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |