Module: wine Branch: master Commit: 41fd380005ca3e6a0fa81b5969ac462a62646e32 URL: http://source.winehq.org/git/wine.git/?a=commit;h=41fd380005ca3e6a0fa81b5969...
Author: Misha Koshelev mk144210@bcm.edu Date: Thu Jun 14 16:37:08 2007 -0500
setupapi: Handle unquoted paths in InstallHinfSection as native.
---
dlls/setupapi/install.c | 2 +- dlls/setupapi/tests/install.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c index 902216e..b53b266 100644 --- a/dlls/setupapi/install.c +++ b/dlls/setupapi/install.c @@ -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=='\') { diff --git a/dlls/setupapi/tests/install.c b/dlls/setupapi/tests/install.c index 3f447dd..5cecd97 100644 --- a/dlls/setupapi/tests/install.c +++ b/dlls/setupapi/tests/install.c @@ -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);