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

This commit is contained in:
Guido van Rossum 1994-10-05 14:48:22 +00:00
parent 6e890b86a8
commit e8a1e8cef3

View file

@ -167,7 +167,8 @@ 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);
*p++ = DELIM; if (p != buf)
*p++ = DELIM;
strcpy(p, defpath); strcpy(p, defpath);
return buf; return buf;
} }
@ -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;