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)
- (__FreeBSD_version >= 700000 && __FreeBSD_version < 700054) || [](#l1.9)
- (__FreeBSD_version >= 800000 && __FreeBSD_version < 800001)