We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a38b05 commit 322603cCopy full SHA for 322603c
1 file changed
Modules/getpath.c
@@ -152,7 +152,7 @@ getpath_hassuffix(PyObject *Py_UNUSED(self), PyObject *args)
152
#if defined(MS_WINDOWS)
153
wcsicmp(&path[len - suffixLen], suffix) != 0
154
#elif defined(__OS2__)
155
- stricmp((const char*)&path[len - suffixLen], (const char*)suffix) != 0
+ wcscasecmp(&path[len - suffixLen], suffix) != 0
156
#else
157
wcscmp(&path[len - suffixLen], suffix) != 0
158
#endif
0 commit comments