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
1 changed files with 3 additions and 4 deletions

View File

@ -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;