]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix for #932977: MacOSX does not pass the whole pathname in argv[0] for
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 3 Jun 2004 14:33:03 +0000 (14:33 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 3 Jun 2004 14:33:03 +0000 (14:33 +0000)
commit1afd4807d9b3df5ba24fa245920d677497025722
tree527eae63190be6f18affb2b01e74cd56065ca952
parent76375745d552e9c0e70f541e8205a0677acbba26
Fix for #932977: MacOSX does not pass the whole pathname in argv[0] for
#!-scripts, only the filename part, and this can lead to incorrect
initialization of sys.path and sys.executable if there is another python
on $PATH before the one used in #!.

The fix was picked up from the darwinports crowd, thanks!
Modules/getpath.c