From: Guido van Rossum Date: Tue, 16 Feb 1999 19:38:04 +0000 (+0000) Subject: The symbols P_* (for spawn*(), MS specific) should not have a leading X-Git-Tag: v1.5.2b2~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d385294a41b465a1bc2b408d09897176ab9a587;p=thirdparty%2FPython%2Fcpython.git The symbols P_* (for spawn*(), MS specific) should not have a leading underscore after all, for consistency with the O_* symnbols. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 8dc079e618f6..e8de3e64e8d4 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3439,11 +3439,11 @@ all_ins(d) #endif #ifdef HAVE_SPAWNV - if (ins(d, "_P_WAIT", (long)_P_WAIT)) return -1; - if (ins(d, "_P_NOWAIT", (long)_P_NOWAIT)) return -1; - if (ins(d, "_P_OVERLAY", (long)_OLD_P_OVERLAY)) return -1; - if (ins(d, "_P_NOWAITO", (long)_P_NOWAITO)) return -1; - if (ins(d, "_P_DETACH", (long)_P_DETACH)) return -1; + if (ins(d, "P_WAIT", (long)_P_WAIT)) return -1; + if (ins(d, "P_NOWAIT", (long)_P_NOWAIT)) return -1; + if (ins(d, "P_OVERLAY", (long)_OLD_P_OVERLAY)) return -1; + if (ins(d, "P_NOWAITO", (long)_P_NOWAITO)) return -1; + if (ins(d, "P_DETACH", (long)_P_DETACH)) return -1; #endif #if defined(PYOS_OS2)