Patches item #1572724, was opened at 2006-10-07 09:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1572724&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: jose nazario (jnazario)
Assigned to: Nobody/Anonymous (nobody)
Summary: typo in PC/_msi.c

Initial Comment:
basic typo in PC/_msi.c, assignment vs comparison (fat
fingered?)

not sure of the implications, but it looks like more of
a relibility fix than anything. 

--- PC/_msi.c.orig      Sat Oct  7 09:12:46 2006
+++ PC/_msi.c   Sat Oct  7 09:12:59 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);

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1572724&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to