mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 10:49:59 -04:00
parent
d3ea05978f
commit
07d6480b68
2 changed files with 8 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue