SETUPAPI: Fix whitespace handling in the INF parser.

Alexandre Julliard julliard at winehq.org
Fri Jul 22 04:34:59 CDT 2005


Matthew Davison <mjd77 at cam.ac.uk> writes:

> The Trailing Spaces state strips ALL spaces outside of quotes, which is
> wrong and leads to a space being wrongly stripped from several
> (non-vital) lines in the IE6 installer.

No, the trailing spaces state doesn't strip anything if it's not the
end of the token, since it pops back to the original state in that
case.

> err:rundll32:main Unable to find the entry point L"DelNodeRunDLL32C:\\\
> \Program" in L"adpack.dll"
> 
> In the console output of setup
> Rundll32 is fail to find an entry point DelNodeRunDll32C:\\Program,
> because the space has been erroneously stripped. 
> 
> The Line in the INF file looks like:
> rundll32.exe advpack.dll,DelNodeRunDLL32 "%24%\%LProgramF%\%
> UninstallData%\IE UserData NT"

It looks like the bug is with quotes in the middle of tokens then.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list