summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c6
-rw-r--r--Python/bltinmodule.c2
-rw-r--r--Python/import.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index d3f3583..df61c25 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -582,7 +582,7 @@ posix__exit(self, args)
/* XXX To do: exece, execp */
static object *
-posix_exec(self, args)
+posix_execv(self, args)
object *self;
object *args;
{
@@ -592,7 +592,7 @@ posix_exec(self, args)
int i, argc;
object *(*getitem) PROTO((object *, int));
- /* exec has two arguments: (path, argv), where
+ /* execv has two arguments: (path, argv), where
argv is a list or tuple of strings. */
if (!getargs(args, "(sO)", &path, &argv))
@@ -1180,7 +1180,7 @@ static struct methodlist posix_methods[] = {
#ifndef MSDOS
{"_exit", posix__exit},
- {"exec", posix_exec},
+ {"execv", posix_execv},
{"fork", posix_fork},
{"getegid", posix_getegid},
{"geteuid", posix_geteuid},
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 3ba8f91..60208a0 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -844,7 +844,7 @@ void
initbuiltin()
{
object *m;
- m = initmodule("builtin", builtin_methods);
+ m = initmodule("__builtin__", builtin_methods);
builtin_dict = getmoduledict(m);
INCREF(builtin_dict);
initerrors();
diff --git a/Python/import.c b/Python/import.c
index 4d01daf..f0d4828 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -61,7 +61,7 @@ extern char *argv0;
/* Magic word to reject .pyc files generated by other Python versions */
-#define MAGIC 0x999901L /* Increment by one for each incompatible change */
+#define MAGIC 0x999902L /* Increment by one for each incompatible change */
static object *modules;