Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
896fb585
Commit
896fb585
authored
Nov 09, 2018
by
Mark Andrews
Browse files
isc_resource_getlimit under windows only supports isc_resource_openfiles
parent
02be459f
Pipeline
#6372
passed with stages
in 8 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/named/main.c
View file @
896fb585
...
...
@@ -1068,6 +1068,7 @@ setup(void) {
/*
* Get the initial resource limits.
*/
#ifndef WIN32
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_stacksize
,
&
named_g_initstacksize
)
==
ISC_R_SUCCESS
);
...
...
@@ -1077,6 +1078,7 @@ setup(void) {
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_coresize
,
&
named_g_initcoresize
)
==
ISC_R_SUCCESS
);
#endif
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_openfiles
,
&
named_g_initopenfiles
)
==
ISC_R_SUCCESS
);
...
...
Mark Andrews
@marka
mentioned in commit
818e6822
·
Nov 09, 2018
mentioned in commit
818e6822
mentioned in commit 818e6822c403f2f771da5dca5e76c6363d00e650
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment