Commit 4f640b0d authored by Automatic Updater's avatar Automatic Updater

update copyright notice

parent 420ebb7c
/* /*
* 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. * Copyright (C) 2000, 2001 Internet Software Consortium.
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: resource.c,v 1.15 2008/01/25 19:31:29 jinmei Exp $ */ /* $Id: resource.c,v 1.16 2008/01/25 23:46:48 tbox Exp $ */
#include <config.h> #include <config.h>
...@@ -40,13 +40,13 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) { ...@@ -40,13 +40,13 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) {
break; break;
case isc_resource_cputime: case isc_resource_cputime:
*rlim_resource = RLIMIT_CPU; *rlim_resource = RLIMIT_CPU;
break; break;
case isc_resource_datasize: case isc_resource_datasize:
*rlim_resource = RLIMIT_DATA; *rlim_resource = RLIMIT_DATA;
break; break;
case isc_resource_filesize: case isc_resource_filesize:
*rlim_resource = RLIMIT_FSIZE; *rlim_resource = RLIMIT_FSIZE;
break; break;
case isc_resource_lockedmemory: case isc_resource_lockedmemory:
#ifdef RLIMIT_MEMLOCK #ifdef RLIMIT_MEMLOCK
*rlim_resource = RLIMIT_MEMLOCK; *rlim_resource = RLIMIT_MEMLOCK;
...@@ -79,7 +79,7 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) { ...@@ -79,7 +79,7 @@ resource2rlim(isc_resource_t resource, int *rlim_resource) {
*rlim_resource = RLIMIT_STACK; *rlim_resource = RLIMIT_STACK;
break; break;
default: default:
/* /*
* This test is not very robust if isc_resource_t * This test is not very robust if isc_resource_t
* changes, but generates a clear assertion message. * changes, but generates a clear assertion message.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment