From: Masayuki Yamamoto Date: Wed, 5 Jul 2017 08:39:17 +0000 (+0900) Subject: bpo-30854: Fix compile error when --without-threads (#2581) X-Git-Tag: v3.7.0a1~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3116309307ad2c7f8e2d2096612f4ab33cbb62;p=thirdparty%2FPython%2Fcpython.git bpo-30854: Fix compile error when --without-threads (#2581) * bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news --- diff --git a/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst new file mode 100644 index 000000000000..f75aea420ad5 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst @@ -0,0 +1,2 @@ +Fix compile error when compiling --without-threads. +Patch by Masayuki Yamamoto. diff --git a/Python/ceval.c b/Python/ceval.c index 0f6978e569ef..59fc070f9e7e 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -548,7 +548,7 @@ Py_MakePendingCalls(void) arg = pendingcalls[i].arg; pendingfirst = (i + 1) % NPENDINGCALLS; if (func(arg) < 0) { - goto error: + goto error; } } busy = 0;