Line 0
Link Here
|
|
|
1 |
--- Include/pyport.h.orig 2014-10-12 07:03:52 UTC |
2 |
+++ Include/pyport.h |
3 |
@@ -677,21 +677,6 @@ extern pid_t forkpty(int *, char *, stru |
4 |
#endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) */ |
5 |
|
6 |
|
7 |
-/* On 4.4BSD-descendants, ctype functions serves the whole range of |
8 |
- * wchar_t character set rather than single byte code points only. |
9 |
- * This characteristic can break some operations of string object |
10 |
- * including str.upper() and str.split() on UTF-8 locales. This |
11 |
- * workaround was provided by Tim Robbins of FreeBSD project. |
12 |
- */ |
13 |
- |
14 |
-#ifdef __FreeBSD__ |
15 |
-#include <osreldate.h> |
16 |
-#if __FreeBSD_version > 500039 |
17 |
-# define _PY_PORT_CTYPE_UTF8_ISSUE |
18 |
-#endif |
19 |
-#endif |
20 |
- |
21 |
- |
22 |
#if defined(__APPLE__) |
23 |
# define _PY_PORT_CTYPE_UTF8_ISSUE |
24 |
#endif |