readdir broken when called from wine
marcus at jet.franken.de
Sun Nov 18 15:26:20 CST 2001
On Sun, Nov 18, 2001 at 08:17:24PM +0100, Lionel Elie Mamane wrote:
> After "upgrading" from Wine-20010418 to Wine-20011004 (self-compiled
> from tarballs), suddenly it didn't find my "C:\Windows" any
> more. Worked before, same 'puter, config files, etc (TM). Tried with
> CVS version. Nope. I recruited Andreas Mohr on #WineHQ for help, we
> ruled out the obvious (yes, the directory exists, here is my config
> file, no, I don't confuse root and non-root, ...), and got down to add
> traces and dug in the code.
> So, for some reason, the readdir calls from
> files/dos_fs.c:DOSFS_ReadDir() report success (ie return non-NULL),
> but the directory entry name returned (dirent->d_name) is always the
> empty string (*(dirent->d_name)=='\0')!
Did you upgrade glibc?
More information about the wine-devel