changeset: 80253:96f4cee8ea5e branch: 3.3 parent: 80251:3b4f2f9272b4 user: Victor Stinner date: Sun Nov 04 23:59:15 2012 +0100 files: Objects/stringlib/codecs.h description: Issue #8271: Fix compilation on Windows diff -r 3b4f2f9272b4 -r 96f4cee8ea5e Objects/stringlib/codecs.h --- a/Objects/stringlib/codecs.h Mon Nov 05 00:13:57 2012 +0200 +++ b/Objects/stringlib/codecs.h Sun Nov 04 23:59:15 2012 +0100 @@ -93,13 +93,13 @@ if (ch < 0xE0) { /* \xC2\x80-\xDF\xBF -- 0080-07FF */ + Py_UCS4 ch2; if (ch < 0xC2) { /* invalid sequence \x80-\xBF -- continuation byte \xC0-\xC1 -- fake 0000-007F */ goto InvalidStart; } - Py_UCS4 ch2; if (end - s < 2) { /* unexpected end of data: the caller will decide whether it's an error or not */

AltStyle によって変換されたページ (->オリジナル) /