From: Martin v. Löwis Date: Fri, 8 Jun 2007 17:29:20 +0000 (+0000) Subject: Bug #1733488: Fix compilation of bufferobject.c on AIX. X-Git-Tag: v2.6a1~1646 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da587ab43e4f4dab223ff1544c89c80a1442b3cc;p=thirdparty%2FPython%2Fcpython.git Bug #1733488: Fix compilation of bufferobject.c on AIX. Will backport to 2.5. --- diff --git a/Misc/NEWS b/Misc/NEWS index b7867458cabd..73149fb7f2a6 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -12,6 +12,8 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- Bug #1733488: Fix compilation of bufferobject.c on AIX. + - Bug #1722485: remove docstrings again when running with -OO. - Add new attribute names for function objects. All the func_* become diff --git a/Objects/bufferobject.c b/Objects/bufferobject.c index 5f3c7a9eeb4a..86515ab4f8d8 100644 --- a/Objects/bufferobject.c +++ b/Objects/bufferobject.c @@ -19,7 +19,7 @@ enum buffer_t { READ_BUFFER, WRITE_BUFFER, CHAR_BUFFER, - ANY_BUFFER, + ANY_BUFFER }; static int