diff options
author | 2012-08-29 21:46:29 +0000 | |
---|---|---|
committer | 2012-08-29 21:46:29 +0000 | |
commit | 2f26b2a1690acc52ccc299c4fb9fe4ddc175af03 (patch) | |
tree | 78ea1231805906d23eeccb4fe9f955c432b573c8 /lib/libpthread/arch/sparc | |
parent | The low-level guts to support MTP (Multi-Threaded Processing) on the (diff) | |
download | wireguard-openbsd-2f26b2a1690acc52ccc299c4fb9fe4ddc175af03.tar.xz wireguard-openbsd-2f26b2a1690acc52ccc299c4fb9fe4ddc175af03.zip |
Fix _SC_CHILD_MAX, _SC_OPEN_MAX, and _SC_STREAM_MAX to correctly
handle rlim_cur set to RLIM_INFINITY or values greater than LONG_MAX,
as unlikely as those are to happen. Further limit _SC_STREAM_MAX to
at most SHRT_MAX, because struct __sFILE uses a short int for storing
the file descriptor.
While here, also remove a dead label that Clang complains about.
From FreeBSD via Brad.
Diffstat (limited to 'lib/libpthread/arch/sparc')
0 files changed, 0 insertions, 0 deletions