Staging
v0.5.1
https://github.com/python/cpython
Revision f5d7cc239e61e063e7bab783d55deb8e72210674 authored by R David Murray on 19 March 2013, 20:23:09 UTC, committed by R David Murray on 19 March 2013, 20:23:09 UTC
I have no idea how one would write a test for this.

Patch by July Tikhonov.
1 parent fcb6d6a
Raw File
Tip revision: f5d7cc239e61e063e7bab783d55deb8e72210674 authored by R David Murray on 19 March 2013, 20:23:09 UTC
#8862: Fix curses cleanup with getchar is interrupted by a signal.
Tip revision: f5d7cc2
pystrcmp.h
#ifndef Py_STRCMP_H
#define Py_STRCMP_H

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);

#ifdef MS_WINDOWS
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
#define PyOS_strnicmp PyOS_mystrnicmp
#define PyOS_stricmp PyOS_mystricmp
#endif

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRCMP_H */
back to top