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
818e6822
Commit
818e6822
authored
Nov 09, 2018
by
Mark Andrews
Browse files
isc_resource_getlimit under windows only supports isc_resource_openfiles
(cherry picked from commit
896fb585
)
parent
63f620ed
Pipeline
#6374
passed with stages
in 8 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/named/main.c
View file @
818e6822
...
@@ -1190,6 +1190,7 @@ setup(void) {
...
@@ -1190,6 +1190,7 @@ setup(void) {
/*
/*
* Get the initial resource limits.
* Get the initial resource limits.
*/
*/
#ifndef WIN32
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_stacksize
,
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_stacksize
,
&
named_g_initstacksize
)
&
named_g_initstacksize
)
==
ISC_R_SUCCESS
);
==
ISC_R_SUCCESS
);
...
@@ -1199,6 +1200,7 @@ setup(void) {
...
@@ -1199,6 +1200,7 @@ setup(void) {
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_coresize
,
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_coresize
,
&
named_g_initcoresize
)
&
named_g_initcoresize
)
==
ISC_R_SUCCESS
);
==
ISC_R_SUCCESS
);
#endif
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_openfiles
,
RUNTIME_CHECK
(
isc_resource_getlimit
(
isc_resource_openfiles
,
&
named_g_initopenfiles
)
&
named_g_initopenfiles
)
==
ISC_R_SUCCESS
);
==
ISC_R_SUCCESS
);
...
...
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