Mercurial > hg > octave-nkf > gnulib-hg
changeset 17740:be8b85935367
getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
Problem reported by Jonas 'Sortie' Termansen in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
* lib/getdtablesize.c (getdtablesize) [_SC_OPEN_MAX]:
Implement via sysconf for platforms that lack getdtablesize.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 07 Aug 2014 18:04:32 -0700 |
parents | 3fb7cf1816d1 |
children | 82713b8ea002 |
files | ChangeLog lib/getdtablesize.c |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2014-08-07 Paul Eggert <eggert@cs.ucla.edu> + getdtablesize: fall back on sysconf (_SC_OPEN_MAX) + Problem reported by Jonas 'Sortie' Termansen in: + http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html + * lib/getdtablesize.c (getdtablesize) [_SC_OPEN_MAX]: + Implement via sysconf for platforms that lack getdtablesize. + vararrays: modernize AC_C_VARARRAYS for C11 This backports a change I recently made to Autoconf. * m4/vararrays.m4 (AC_C_VARARRAYS): Define __STDC_NO_VLA__ if