Shun-ichi Goto avatar Shun-ichi Goto committed a494b54

win32: msvcr71.dll should be used for python 2.4 and 2.5

Following is list of C-Runtime for versions of CPython on windows:
- python 2.4.5 => MSVCR71.dll
- python 2.5.4 => MSVCR71.dll
- python 2.6.6 => MSVCR90.dll
- python 2.7 => MSVCR90.dll
- python 3.1.2 => MSVCR90.dll

Comments (0)

Files changed (1)

mercurial/pure/osutil.py

             # find_msvcrt was introduced in Python 2.6
             return ctypes.util.find_msvcrt()
         except AttributeError:
-            return 'msvcr80.dll' # CPython 2.5
+            return 'msvcr71.dll' # CPython 2.5 and 2.4
 
     _crt = ctypes.PyDLL(_crtname())
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.