summaryrefslogtreecommitdiffstats
path: root/Modules/config.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/config.c.in')
-rw-r--r--Modules/config.c.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 981a19f..fb8b49b 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -167,7 +167,8 @@ getpythonpath()
fatal("not enough memory to copy module search path");
strcpy(buf, path);
p = buf + strlen(buf);
- *p++ = DELIM;
+ if (p != buf)
+ *p++ = DELIM;
strcpy(p, defpath);
return buf;
}
@@ -201,9 +202,7 @@ struct {
{0, 0}
};
-#ifdef USE_FROZEN
-#include "frozen.c"
-#else
+#ifndef USE_FROZEN
struct frozen {
char *name;
char *code;