Re: SETUPAPI: Fix whitespace handling in the INF parser.

2005-07-22 Thread Matthew Davison
On Fri, 2005-07-22 at 11:45 +0200, Alexandre Julliard wrote: > Alexandre Julliard <[EMAIL PROTECTED]> writes: > > > It looks like the bug is with quotes in the middle of tokens then. > > Does this work for you? Yep, that works. -- Matthew Davison <[EMAIL PROTECTED]>

Re: SETUPAPI: Fix whitespace handling in the INF parser.

2005-07-22 Thread Matthew Davison
On Fri, 2005-07-22 at 09:36 +0200, Alexandre Julliard wrote: > Matthew Davison <[EMAIL PROTECTED]> writes: > > > Without this patch, the INF parser in setupapi will strip any spaces > > which are not inside quotes from an INF file. Windows will only strip > > spaces at the start and end of each fi

Re: SETUPAPI: Fix whitespace handling in the INF parser.

2005-07-22 Thread Alexandre Julliard
Alexandre Julliard <[EMAIL PROTECTED]> writes: > It looks like the bug is with quotes in the middle of tokens then. Does this work for you? Index: dlls/setupapi/parser.c === RCS file: /opt/cvs-commit/wine/dlls/setupapi/parser.c,v re

Re: SETUPAPI: Fix whitespace handling in the INF parser.

2005-07-22 Thread Alexandre Julliard
Matthew Davison <[EMAIL PROTECTED]> 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

Re: SETUPAPI: Fix whitespace handling in the INF parser.

2005-07-22 Thread Alexandre Julliard
Matthew Davison <[EMAIL PROTECTED]> writes: > Without this patch, the INF parser in setupapi will strip any spaces > which are not inside quotes from an INF file. Windows will only strip > spaces at the start and end of each field/line. This is supposed to be handled by the TRAILING_SPACES state