Cédric Krier added the comment:
Here is a patch that uses getrlimit (that's works on OpenBSD) before using
sysconf.
--
Added file: http://bugs.python.org/file38824/max_fd.patch
___
Python tracker rep...@bugs.python.org
Gregory P. Smith added the comment:
I'm not going to bother setting up a VM with an esoteric OS in it myself, if
someone knows the past and current state of various OpenBSD versions and what
to do there, feel free to commit OpenBSD conditional compilation bits as you
see fit to make this do
Cédric Krier added the comment:
Indeed, I think my patch is not right as /dev/fd on OpenBSD is static.
I will continue to investigate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
Cédric Krier added the comment:
The problem comes from safe_get_max_fd which return a too low value because of
a bug in sysconf on OpenBSD [1]:
The value for _SC_STREAM_MAX is a minimum maximum, and required to be the same
as ANSI C's FOPEN_MAX, so the returned value is a ridiculously small
Changes by Cédric Krier cedric.kr...@b2ck.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
___
Python-bugs-list
Stefan Krah added the comment:
There's a comment in _posixsubprocess:
NetBSD and OpenBSD have a /proc fs available (though not necessarily
mounted) and do not have fdescfs for /dev/fd.
Is this still valid?
--
nosy: +skrah
___
Python tracker
Changes by Stefan Krah ste...@bytereef.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
___
Python-bugs-list
Cédric Krier added the comment:
At least on OpenBSD procfs have been removed:
http://www.openbsd.org/faq/current.html#20140908
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +davin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
___
Python-bugs-list
New submission from Cédric Krier:
The test_subprocess fails since issue21618 on OpenBSD because the FD_DIR is
wrong (/dev/fd instead of /proc/self/fd).
--
files: fd_dir.patch
keywords: patch
messages: 239920
nosy: ced
priority: normal
severity: normal
status: open
title: Wrong FD_DIR
10 matches
Mail list logo