]> granicus.if.org Git - python/commitdiff
The symbols P_* (for spawn*(), MS specific) should not have a leading
authorGuido van Rossum <guido@python.org>
Tue, 16 Feb 1999 19:38:04 +0000 (19:38 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 16 Feb 1999 19:38:04 +0000 (19:38 +0000)
underscore after all, for consistency with the O_* symnbols.

Modules/posixmodule.c

index 8dc079e618f6f08e26af7b61896a466441aabceb..e8de3e64e8d4f30b18256b8aa5224719184dd921 100644 (file)
@@ -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)