mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
(backport from rev. 52251)
This commit is contained in:
parent
0037300f15
commit
7444eda3d6
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,8 @@ Core and builtins
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
|
||||||
|
|
||||||
- Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
|
- Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
|
||||||
when encoding non-BMP unicode characters.
|
when encoding non-BMP unicode characters.
|
||||||
|
|
||||||
|
|
|
@ -495,7 +495,7 @@ summary_getproperty(msiobj* si, PyObject *args)
|
||||||
|
|
||||||
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
|
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
|
||||||
&fval, sval, &ssize);
|
&fval, sval, &ssize);
|
||||||
if (status = ERROR_MORE_DATA) {
|
if (status == ERROR_MORE_DATA) {
|
||||||
sval = malloc(ssize);
|
sval = malloc(ssize);
|
||||||
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
|
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
|
||||||
&fval, sval, &ssize);
|
&fval, sval, &ssize);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue