From: Benjamin Peterson Date: Sat, 2 Aug 2008 03:11:16 +0000 (+0000) Subject: fix compile error on Windows X-Git-Tag: v2.6b3~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8df0e4ffc384534be349c4fbb361e9e9a06a8d0b;p=python fix compile error on Windows --- diff --git a/Modules/_multiprocessing/pipe_connection.c b/Modules/_multiprocessing/pipe_connection.c index d655c50aa4..ad16fc89d3 100644 --- a/Modules/_multiprocessing/pipe_connection.c +++ b/Modules/_multiprocessing/pipe_connection.c @@ -68,7 +68,7 @@ conn_recv_string(ConnectionObject *conn, char *buffer, memcpy(*newbuffer, buffer, length); Py_BEGIN_ALLOW_THREADS - ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL) + ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL); Py_END_ALLOW_THREADS if (ret) { assert(length == left);