Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
633
Issues
633
List
Boards
Labels
Service Desk
Milestones
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
4f640b0d
Commit
4f640b0d
authored
Jan 25, 2008
by
Automatic Updater
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update copyright notice
parent
420ebb7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lib/isc/unix/resource.c
lib/isc/unix/resource.c
+6
-6
No files found.
lib/isc/unix/resource.c
View file @
4f640b0d
/*
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resource.c,v 1.1
5 2008/01/25 19:31:29 jinmei
Exp $ */
/* $Id: resource.c,v 1.1
6 2008/01/25 23:46:48 tbox
Exp $ */
#include <config.h>
...
...
@@ -40,13 +40,13 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) {
break
;
case
isc_resource_cputime
:
*
rlim_resource
=
RLIMIT_CPU
;
break
;
break
;
case
isc_resource_datasize
:
*
rlim_resource
=
RLIMIT_DATA
;
break
;
break
;
case
isc_resource_filesize
:
*
rlim_resource
=
RLIMIT_FSIZE
;
break
;
break
;
case
isc_resource_lockedmemory
:
#ifdef RLIMIT_MEMLOCK
*
rlim_resource
=
RLIMIT_MEMLOCK
;
...
...
@@ -79,7 +79,7 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) {
*
rlim_resource
=
RLIMIT_STACK
;
break
;
default:
/*
/*
* This test is not very robust if isc_resource_t
* changes, but generates a clear assertion message.
*/
...
...
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