From: Sam S. <sd...@gn...> - 2008-02-04 18:05:40
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Kappert wrote: | Sam Steingold wrote: |>> * Michael Kappert <zvp...@tz...g> [2008-01-27 01:11:55 +0100]: |>> |>> ... but it's completely bogus. I've no idea why it seems to work. |> it does not. :-( |> |>> I think the problem really is in the pathname passed to |>> READDIR_findfirst. |>> If the pathname names a directory, it has a trailing backslash, |>> but FindFirstFile always wants the name without trailing backslash |>> <http://msdn2.microsoft.com/en-us/library/aa364418(VS.85).aspx> |> AHA!!! |> please try the appended patch! | | | Ok, this works! | Except for a typo: | + resolved_asciz_bytelen[resolved_asciz_bytelen - 1] = 0; | ^^^^^^^^ | Should be resolved_asciz[resolved_asciz_bytelen - 1] = 0; so, does make check succeed? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHp1PqPp1Qsf2qnMcRAvt3AKCnXlTlbhAKjFSYDVKLMYJNf+NUZgCdH23t osQUrHpzPPGDg78g78Q0/dQ= =ACTJ -----END PGP SIGNATURE----- |