| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,9 @@ What's New in Python 3.2 Beta 1? | |||
| 10 | 10 | Core and Builtins | |
| 11 | 11 | ----------------- | |
| 12 | 12 | ||
| 13 | + - Issue #9862: Compensate for broken PIPE_BUF in AIX by hard coding | ||
| 14 | + its value as the default 512 when compiling on AIX. | ||
| 15 | + | ||
| 13 | 16 | - Use locale encoding instead of UTF-8 to encode and decode filenames if | |
| 14 | 17 | Py_FileSystemDefaultEncoding is not set. | |
| 15 | 18 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1786,6 +1786,10 @@ PyInit_select(void) | |||
| 1786 | 1786 | PyModule_AddObject(m, "error", SelectError); | |
| 1787 | 1787 | ||
| 1788 | 1788 | #ifdef PIPE_BUF | |
| 1789 | + #ifdef HAVE_BROKEN_PIPE_BUF | ||
| 1790 | + #undef PIPE_BUF | ||
| 1791 | + #define PIPE_BUF 512 | ||
| 1792 | + #endif | ||
| 1789 | 1793 | PyModule_AddIntConstant(m, "PIPE_BUF", PIPE_BUF); | |
| 1790 | 1794 | #endif | |
| 1791 | 1795 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4213,6 +4213,10 @@ fi | |||
| 4213 | 4213 | ], | |
| 4214 | 4214 | [AC_MSG_RESULT(no value specified)]) | |
| 4215 | 4215 | ||
| 4216 | + case $ac_sys_system in | ||
| 4217 | + AIX*) | ||
| 4218 | + AC_DEFINE(HAVE_BROKEN_PIPE_BUF, 1, [Define if the system reports an invalid PIPE_BUF value.]) ;; | ||
| 4219 | + esac | ||
| 4216 | 4220 | ||
| 4217 | 4221 | ||
| 4218 | 4222 | case $ac_sys_system in | |
| Back | FazBrowse Home | New Git URL |
0 commit comments