Fix getpythonpath() fix; never #include frozen.c.
This commit is contained in:
parent
6e890b86a8
commit
e8a1e8cef3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue