summaryrefslogtreecommitdiff
path: root/Modules/getpath.c
AgeCommit message (Expand)AuthorLines
2013-07-22Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],Christian Heimes-4/+12
2012-07-17Closes #15307: symlinks now work on OS X with framework Python builds. Patch...Vinay Sajip-4/+12
2012-05-26Implemented PEP 405 (Python virtual environments).Vinay Sajip-0/+86
2011-06-20calculate_path() decodes the PYTHONPATH environment variable from the localeVictor Stinner-7/+9
2011-03-17Issue #10914: fix bogus memory management in Modules/getpath.c, leading to a ...Antoine Pitrou-3/+7
2010-12-03Merge branches/pep-0384.Martin v. Löwis-1/+1
2010-11-10getpath.c: fix test to detech PyUnicode_AsWideChar() failureVictor Stinner-4/+4
2010-11-08Issue #6011: decode PREFIX, EXEC_PREFIX and PYTHONPATH variables usingVictor Stinner-17/+30
2010-10-23Issue #6011: getpath: decode VPATH env var from the locale encodingVictor Stinner-7/+10
2010-10-16Oops, fix my previous commit (r85583) on calculate_path()Victor Stinner-4/+7
2010-10-16calculate_path(): use _Py_char2wchar() to decode the PATH environment variable,Victor Stinner-9/+4
2010-10-14_Py_wgetcwd() decodes the path using _Py_char2wchar() to support surrogatesVictor Stinner-6/+6
2010-10-07copy_absolute() keeps the relative path on _Py_wgetcwd() failureVictor Stinner-2/+5
2010-10-07copy_absolute() raises a fatal error on _Py_wgetcwd() failureVictor Stinner-1/+2
2010-10-07Create fileutils.c/.hVictor Stinner-77/+4
2010-10-07_wrealpath() and _Py_wreadlink() support surrogates (PEP 383)Victor Stinner-3/+6
2010-09-27issue 9910Kristján Valur Jónsson-0/+20
2010-08-14Fix indentation in Modules/getpath.cAntoine Pitrou-56/+56
2010-08-14Add comments about Windows in Modules/getpath.cAntoine Pitrou-2/+7
2010-08-14Kill a gcc warning introduced by r83988Victor Stinner-1/+2
2010-08-13Create _Py_wchar2char() function, reverse of _Py_char2wchar()Victor Stinner-4/+7
2010-08-13Reimplement addbuilddir() in C inside getpath.c, so as to execute itAntoine Pitrou-4/+27
2010-07-23Ensure that sys.prefix can reliably be foundRonald Oussoren-1/+1
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-82/+82
2010-03-12Merged revisions 78835-78837 via svnmerge fromVictor Stinner-1/+1
2010-02-22#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)Andrew M. Kuchling-1/+1
2009-02-12This fixes issue5143 and includes a test.Ronald Oussoren-2/+8
2008-09-09Issue #3813: cannot lanch python.exe via symbolic link on cygwin.Hirokazu Yamamoto-2/+1
2008-04-05Change command line processing API to use wchar_t.Martin v. Löwis-119/+199
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-1/+1
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-5/+5
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-1/+12
2006-02-20Patch #931938: prevent setting sys.prefix to ""Georg Brandl-0/+6
2006-01-05squash compiler warning on Mac OSX 10.3Skip Montanaro-0/+4
2005-09-16Change type on variable to silence gcc 4 warning. Call signature was found atBrett Cannon-1/+1
2004-08-08Bug 1003471: Python 1.5.2 security vulnerability still present in 2.3.4Tim Peters-4/+10
2004-06-26Modules/getpath.c now compiles properly under OS X when using theBrett Cannon-1/+1
2004-06-24Change comment from C++ style to C.Brett Cannon-1/+1
2004-06-03Fix for #932977: MacOSX does not pass the whole pathname in argv[0] forJack Jansen-0/+17
2002-12-31Make sure zip_path is null-terminated, since it's on the stackNeal Norwitz-0/+1
2002-12-30PEP 302 + zipimport:Just van Rossum-0/+18
2002-12-23Squashed compiler warnings by adding casts, making sure prototypes are inJack Jansen-1/+1
2002-12-06Patch #614055: Support OpenVMS.Martin v. Löwis-0/+4
2002-09-13SF # 602108 ensure string is null terminated after strncpyNeal Norwitz-0/+1
2002-01-12Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis-4/+0
2001-12-02Changed logic for finding python home in Mac OS X framework Pythons.Jack Jansen-47/+45
2001-09-28Be more rigorous about making pathnames absolute, to address SF bugGuido van Rossum-53/+58
2001-08-15With WITH_NEXT_FRAMEWORK defined we now also expect a normal PythonJack Jansen-6/+20
2001-08-08Put conditional S_ISDIR definition(s) into pyport.h.Martin v. Löwis-9/+0
2001-07-23Add -E command line switch (ignore environment variables like PYTHONHOMENeil Schemenauer-1/+1