cpython: 12a70477db03 (original) (raw)

Mercurial > cpython

changeset 102666:12a70477db03 2.7

Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround. The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project. [#10910]

Ned Deily nad@python.org
date Mon, 15 Aug 2016 03:04:36 -0400
parents e0ec3471cb09
children 85b35300f200
files Include/pyport.h Misc/NEWS
diffstat 2 files changed, 10 insertions(+), 1 deletions(-)[+] [-] Include/pyport.h 4 Misc/NEWS 7

line wrap: on

line diff

--- a/Include/pyport.h +++ b/Include/pyport.h @@ -702,7 +702,9 @@ extern int fdatasync(int); #ifdef FreeBSD #include <osreldate.h> -#if __FreeBSD_version > 500039 +#if (__FreeBSD_version >= 500040 && __FreeBSD_version < 602113) || [](#l1.8)

define _PY_PORT_CTYPE_UTF8_ISSUE

#endif #endif

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -97,6 +97,13 @@ Tests