changeset 15040:a494b54b6ed3 stable

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
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Mon, 08 Aug 2011 14:32:27 +0900
parents 2ef2d3a5cd2d
children 5e7f03cfeeb9
files mercurial/pure/osutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pure/osutil.py	Wed Aug 10 13:40:01 2011 -0500
+++ b/mercurial/pure/osutil.py	Mon Aug 08 14:32:27 2011 +0900
@@ -73,7 +73,7 @@
             # 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())