]> granicus.if.org Git - python/commitdiff
bpo-30854: Fix compile error when --without-threads (#2581)
authorMasayuki Yamamoto <ma3yuki.8mamo10@gmail.com>
Wed, 5 Jul 2017 08:39:17 +0000 (17:39 +0900)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Jul 2017 08:39:17 +0000 (10:39 +0200)
* bpo-30854: Fix compile error when --without-threads

* bpo-30854: fix news

Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst [new file with mode: 0644]
Python/ceval.c

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 (file)
index 0000000..f75aea4
--- /dev/null
@@ -0,0 +1,2 @@
+Fix compile error when compiling --without-threads.
+Patch by Masayuki Yamamoto.
index 0f6978e569ef6eec94c92d65a141961748907242..59fc070f9e7ebda85e6a3086278323e0a18c688e 100644 (file)
@@ -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;