[issue22396] AIX posix_fadvise and posix_fallocate

STINNER Victor report at bugs.python.org
Tue Sep 23 00:35:01 CEST 2014


STINNER Victor added the comment:

> I understand that AIX doesn't declare the function prototype correctly?

AIX bug report:
http://www-01.ibm.com/support/docview.wss?uid=isg1IV56170

I like Ruby's patch:

-#ifdef HAVE_POSIX_FADVISE
+    /* AIX currently does not support a 32-bit call to posix_fadvise()
+     * if _LARGE_FILES is defined.
+     */
+#if defined(HAVE_POSIX_FADVISE) && !(defined(_AIX) && defined(_LARGE_FILES) && !defined(_ARCH_PPC64))

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22396>
_______________________________________


More information about the Python-bugs-list mailing list