2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

704. [port] RLIMIT_NOFILE in to available on all platforms.

[RT #695]
This commit is contained in:
Mark Andrews
2001-01-23 03:14:28 +00:00
parent d3ea05978f
commit 07d6480b68
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
704. [port] RLIMIT_NOFILE in to available on all platforms.
[RT #695]
703. [port] sys/select.h is needed on older platforms. [RT #695]
702. [func] If the address 0.0.0.0 is seen in resolv.conf,

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resource.c,v 1.7 2001/01/09 21:58:27 bwelling Exp $ */
/* $Id: resource.c,v 1.8 2001/01/23 03:14:28 marka Exp $ */
#include <config.h>
@@ -62,7 +62,11 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) {
#endif
break;
case isc_resource_openfiles:
#ifdef RLIMIT_NOFILE
*rlim_resource = RLIMIT_NOFILE;
#else
result = ISC_R_NOTIMPLEMENTED;
#endif
break;
case isc_resource_processes:
#ifdef RLIMIT_NPROC