[Wine-patches] [eter-2.1 1/2] Revert "msi: Correctly parse double quotes in the token value. (eterbug #8375)."

Dmitry Timoshkov dtimoshkov на etersoft.ru
Чт Ноя 5 09:05:56 MSK 2015


This reverts commit a8c7a5961c3f38a942efd3e947f066aa36ce348f.

This patch has caused a regression in the Microsoft Office 2007 installer.
---
 dlls/msi/action.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 408c8b0..16112df 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -244,7 +244,7 @@ static int parse_prop( const WCHAR *str, WCHAR *value, int *quotes )
             {
             case '"':
                 state = state_quote;
-                if (in_quotes && p[1] != '\"') count--;
+                if (in_quotes) count--;
                 else count++;
                 break;
             case ' ':
@@ -328,7 +328,7 @@ UINT msi_parse_command_line( MSIPACKAGE *package, LPCWSTR szCommandLine,
 
         ptr2 = strchrW( ptr, '=' );
         if (!ptr2) return ERROR_INVALID_COMMAND_LINE;
-
+ 
         len = ptr2 - ptr;
         if (!len) return ERROR_INVALID_COMMAND_LINE;
 
-- 
2.6.2



Подробная информация о списке рассылки Wine-patches