[New-bugs-announce] [issue22396] AIX posix_fadvise and posix_fallocate

David Edelsohn report at bugs.python.org
Fri Sep 12 20:20:03 CEST 2014

New submission from David Edelsohn:

As with Solaris and Issue10812, test_posix fadvise and fallocate fail on AIX.  Python is compiled with _LARGE_FILES, which changes the function signature for posix_fadvise and posix_fallocate so that off_t is "long long" on 32 bit system passed in two registers.  The Python call to those functions does not place the arguments in the correct registers, causing an EINVAL error.  This patch fixes the failures in a similar way to Solaris ZFS kludge for Issue10812.

components: Tests
files: 10812_aix.patch
keywords: patch
messages: 226834
nosy: David.Edelsohn, pitrou
priority: normal
severity: normal
status: open
title: AIX posix_fadvise and posix_fallocate
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36611/10812_aix.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list