diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-05-06 15:11:07 (GMT) |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2011-05-06 15:11:07 (GMT) |
| commit | 6355c16d3623921cbecb156c23349b8a6fe32827 (patch) | |
| tree | 20c97d66bd52437751f174847bf139771a6ace21 /Lib/ntpath.py | |
| parent | 1c86b4450689cc9ecef6c99ad8e55bae67931e59 (diff) | |
| download | cpython-6355c16d3623921cbecb156c23349b8a6fe32827.zip cpython-6355c16d3623921cbecb156c23349b8a6fe32827.tar.gz cpython-6355c16d3623921cbecb156c23349b8a6fe32827.tar.bz2 | |
ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on Windows XP.
Noticed while researching a buildbot failure due to a patch for issue #10684.
Diffstat (limited to 'Lib/ntpath.py')
| -rw-r--r-- | Lib/ntpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 419342d..ec8a7ab 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -654,7 +654,7 @@ except (AttributeError, ImportError): # Non-Windows operating systems fake this method with an XP # approximation. def _getfinalpathname(f): - return abspath(f) + return normcase(abspath(f)) def samefile(f1, f2): "Test whether two pathnames reference the same actual file" |
