setupapi: Handle unquoted paths in InstallHinfSection as native.
This commit is contained in:
parent
095c9bf26a
commit
41fd380005
|
@ -1024,7 +1024,7 @@ void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, I
|
|||
path=d=s;
|
||||
while (*s)
|
||||
{
|
||||
if (*s==0 || ((*s=='\t' || *s==' ') && !in_quotes)) {
|
||||
if (*s==0) {
|
||||
/* end of this command line argument */
|
||||
break;
|
||||
} else if (*s=='\\') {
|
||||
|
|
|
@ -121,7 +121,7 @@ static void test_cmdline(void)
|
|||
create_inf_file(infwithspaces, cmdline_inf);
|
||||
|
||||
sprintf(path, "%s\\%s", CURR_DIR, infwithspaces);
|
||||
todo_wine ok_cmdline("DefaultInstall", 128, path, TRUE);
|
||||
ok_cmdline("DefaultInstall", 128, path, TRUE);
|
||||
|
||||
sprintf(path, "\"%s\\%s\"", CURR_DIR, infwithspaces);
|
||||
todo_wine ok_cmdline("DefaultInstall", 128, path, FALSE);
|
||||
|
|
Loading…
Reference in New Issue