New submission from Riku Voipio:

Getdents system call was superseded with with getdents64 in Linux 2.4 (January 
2001). New architectures, such as 64-Bit ARM opt out not to support legacy 
system calls, and getdents is one of them. 

Since getdents64 has been supported for over a decade, I don't think adding 
ifdef to support both makes sense. Using getdents64 cleans up the current 
_posixsubprocess code as the entries are long long everywhere.

The attached patch makes _posixsubprocess module compile on 64-Bit ARM and 
causes on regressions on the python3.3 testsuite on x86 and x86_64

----------
components: Extension Modules
files: movetogetdents64.diff
keywords: patch
messages: 179937
nosy: riku-voipio
priority: normal
severity: normal
status: open
title: _posixsubprocess module uses outdated getdents system call
versions: Python 3.3
Added file: http://bugs.python.org/file28723/movetogetdents64.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to