summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
Commit message (Collapse)AuthorAgeFilesLines
* Back out of a recent policy change (Mark Hammond disagreed).Guido van Rossum1998-08-111-27/+8
| | | | The registry always comes first and the default is always appended.
* Sigh. More restructuring was needed.Guido van Rossum1998-08-081-27/+57
| | | | | Make an explicit test for whether the prefix is in fact the source directory, and then don't use the registry.
* This file's previous log message is bogus. The real change is thatGuido van Rossum1998-08-081-1/+1
| | | | | when it gets the path from the registry, it no longer appends the default path to the end (which would mostly be a duplication).
* Different version games:Guido van Rossum1998-08-081-9/+16
| | | | | | | - MS_DLL_ID is now set to "1.5" instead of "1.5.x" so Mark Hammond's extensions won't have to be changed. - FILEVERSION and PRODUCTVERSION are set to 1,5,2,1. (The last number could be the build# or the alpha release# or so.)
* Two changes:Guido van Rossum1998-07-271-3/+15
| | | | | | (1) Use Py_GetPythonHome() instead of getenv("PYTHONHOME"); (2) Mark Hammond's patch to search for .pyc/.pyo landmark as well.
* Fix some outdated comments (mostly by removing a large comment blockGuido van Rossum1998-02-191-16/+11
| | | | | that was only causing confusing). Add free(userpath) and free(machinepath) statements to prevent some leaks.
* Allocate one byte extra in some cases.Guido van Rossum1997-12-111-1/+1
|
* Seem to be some changes related to DLL version from string resource,Guido van Rossum1997-09-291-2/+19
| | | | again (Mark Hammond is the cause of all this).
* Much rewritten. Added Win32 registry stuff (from getpath_nt.c, whichGuido van Rossum1997-08-131-55/+222
| | | | | | | is now obsolete), and changed the default path calculations. $PYTHONPATH is now added as a prefix (like it's always been on Unix); $PYTHONHOME takes precedence over the program pathname; and only one landmark is needed.
* Some changes to make it work on NT; add the directory where the binaryGuido van Rossum1997-08-131-2/+9
| | | | | | | | lives to the end of the path. (Still to do: add $PYTHONPATH to the front instead of using it as is; add the Win32 registry paths as in getpath_nt.c (which can then retire).)
* Jim Ahlstrom's contributions for DOS, OS/2, WIN3.1.Guido van Rossum1997-05-191-0/+294