Kaydet (Commit) e8a1e8ce authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix getpythonpath() fix; never #include frozen.c.

üst 6e890b86
...@@ -167,6 +167,7 @@ getpythonpath() ...@@ -167,6 +167,7 @@ getpythonpath()
fatal("not enough memory to copy module search path"); fatal("not enough memory to copy module search path");
strcpy(buf, path); strcpy(buf, path);
p = buf + strlen(buf); p = buf + strlen(buf);
if (p != buf)
*p++ = DELIM; *p++ = DELIM;
strcpy(p, defpath); strcpy(p, defpath);
return buf; return buf;
...@@ -201,9 +202,7 @@ struct { ...@@ -201,9 +202,7 @@ struct {
{0, 0} {0, 0}
}; };
#ifdef USE_FROZEN #ifndef USE_FROZEN
#include "frozen.c"
#else
struct frozen { struct frozen {
char *name; char *name;
char *code; char *code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment