[Python-checkins] CVS: python/dist/src/PC getpathp.c,1.23,1.24
Neil Schemenauer
nascheme@users.sourceforge.net
Mon, 23 Jul 2001 09:30:29 -0700
Update of /cvsroot/python/python/dist/src/PC
In directory usw-pr-cvs1:/tmp/cvs-serv25036/PC
Modified Files:
getpathp.c
Log Message:
Add -E command line switch (ignore environment variables like PYTHONHOME
and PYTHONPATH).
Index: getpathp.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/getpathp.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** getpathp.c 2001/02/23 11:38:38 1.23
--- getpathp.c 2001/07/23 16:30:27 1.24
***************
*** 426,430 ****
size_t bufsz;
char *pythonhome = Py_GetPythonHome();
! char *envpath = getenv("PYTHONPATH");
#ifdef MS_WIN32
--- 426,430 ----
size_t bufsz;
char *pythonhome = Py_GetPythonHome();
! char *envpath = Py_GETENV("PYTHONPATH");
#ifdef MS_WIN32