Oops, I forgot one important thing. You must have _MBCS defined when
compiling dirent.c, i.e., "-D_MBCS" on the command line.
Subject: Re: [Mingw-users] _stati64() and multibyte character strings
<quote who="Earl Kinmonth">
>>Is MSYS invovled? Maybe it's MSYS that breaks multi-byte strings? If
>>you pass double-byte strings on the command line from MSYS's shell,
>>does it handle these strings properly? Does MSYS's shell break
>>double-byte strings in the environment?
> Yes, but I was not passing multi-byte strings from the command line.
> were coming from a recursive file tree programme based on opendir() and
Hi, I just made a patched version of dirent.c. Please test to see whether
it helps (link with this file).