[Python-checkins] r52252 - in python/branches/release25-maint: Misc/NEWS PC/_msi.c

georg.brandl python-checkins at python.org
Mon Oct 9 21:03:13 CEST 2006


Author: georg.brandl
Date: Mon Oct  9 21:03:12 2006
New Revision: 52252

Modified:
   python/branches/release25-maint/Misc/NEWS
   python/branches/release25-maint/PC/_msi.c
Log:
Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
 (backport from rev. 52251)

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Mon Oct  9 21:03:12 2006
@@ -49,6 +49,8 @@
 Extension Modules
 -----------------
 
+- Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
+
 - Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
   when encoding non-BMP unicode characters.
 

Modified: python/branches/release25-maint/PC/_msi.c
==============================================================================
--- python/branches/release25-maint/PC/_msi.c	(original)
+++ python/branches/release25-maint/PC/_msi.c	Mon Oct  9 21:03:12 2006
@@ -495,7 +495,7 @@
 
     status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival, 
 	&fval, sval, &ssize);
-    if (status = ERROR_MORE_DATA) {
+    if (status == ERROR_MORE_DATA) {
 	sval = malloc(ssize);
         status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival, 
     	    &fval, sval, &ssize);


More information about the Python-checkins mailing list