Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not. Blame Graff for getting me to trim all trailing whitespace.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright (C) 1998-2000 Internet Software Consortium.
|
||||
#
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
# copyright notice and this permission notice appear in all copies.
|
||||
#
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -13,7 +13,7 @@
|
||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: Makefile.in,v 1.19 2000/07/27 09:41:37 tale Exp $
|
||||
# $Id: Makefile.in,v 1.20 2000/08/01 01:17:32 tale Exp $
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
@@ -32,7 +32,7 @@ TAPIDEPLIBS = ../../../lib/tests/libt_api.@A@
|
||||
ISCDEPLIBS = ../../../lib/isc/libisc.@A@
|
||||
TAPILIBS = ../../../lib/tests/libt_api.@A@
|
||||
|
||||
DEPLIBS = ${TAPIDEPLIBS} ${ISCDEPLIBS}
|
||||
DEPLIBS = ${TAPIDEPLIBS} ${ISCDEPLIBS}
|
||||
|
||||
LIBS = ${TAPILIBS} ${ISCLIBS} @LIBS@
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
* Copyright (C) 1998-2000 Internet Software Consortium.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: t_tasks.c,v 1.17 2000/07/27 09:41:39 tale Exp $ */
|
||||
/* $Id: t_tasks.c,v 1.18 2000/08/01 01:17:34 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -190,7 +190,7 @@ t_tasks1(void) {
|
||||
return(T_UNRESOLVED);
|
||||
}
|
||||
|
||||
|
||||
|
||||
sleep(2);
|
||||
|
||||
/*
|
||||
@@ -348,7 +348,7 @@ t_tasks1(void) {
|
||||
isc_timer_detach(&ti2);
|
||||
isc_timermgr_destroy(&timgr);
|
||||
isc_taskmgr_destroy(&manager);
|
||||
|
||||
|
||||
isc_mem_destroy(&mctx);
|
||||
return(T_PASS);
|
||||
}
|
||||
@@ -392,7 +392,7 @@ t2_shutdown(isc_task_t *task, isc_event_t *event) {
|
||||
t_info("isc_mutex_lock failed %d\n", isc_result);
|
||||
++T2_nprobs;
|
||||
}
|
||||
|
||||
|
||||
T2_done = 1;
|
||||
|
||||
isc_result = isc_condition_signal(&T2_cv);
|
||||
@@ -400,7 +400,7 @@ t2_shutdown(isc_task_t *task, isc_event_t *event) {
|
||||
t_info("isc_condition_signal failed %d\n", isc_result);
|
||||
++T2_nprobs;
|
||||
}
|
||||
|
||||
|
||||
isc_result = isc_mutex_unlock(&T2_mx);
|
||||
if (isc_result != ISC_R_SUCCESS) {
|
||||
t_info("isc_mutex_unlock failed %d\n", isc_result);
|
||||
@@ -438,7 +438,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
|
||||
++T2_nfails;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
isc_result = isc_task_onshutdown(newtask, t2_shutdown,
|
||||
(void *)task);
|
||||
if (isc_result != ISC_R_SUCCESS) {
|
||||
@@ -447,7 +447,7 @@ t2_callback(isc_task_t *task, isc_event_t *event) {
|
||||
++T2_nfails;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
isc_task_send(newtask, &event);
|
||||
} else {
|
||||
/*
|
||||
@@ -781,7 +781,7 @@ t_tasks3(void) {
|
||||
isc_result_totext(isc_result));
|
||||
++T3_nprobs;
|
||||
}
|
||||
|
||||
|
||||
|
||||
isc_task_detach(&task);
|
||||
isc_taskmgr_destroy(&tmgr);
|
||||
@@ -1181,7 +1181,7 @@ t_tasks7(void) {
|
||||
isc_mem_destroy(&mctx);
|
||||
return(T_UNRESOLVED);
|
||||
}
|
||||
|
||||
|
||||
isc_result = isc_condition_waituntil(&T7_cv, &T7_mx, &now);
|
||||
if (isc_result != ISC_R_SUCCESS) {
|
||||
t_info("isc_condition_waituntil returned %s\n",
|
||||
@@ -1325,7 +1325,7 @@ t10_event2(isc_task_t *task, isc_event_t *event) {
|
||||
(T10_purge_tag == event->ev_tag)) {
|
||||
tag_match = 1;
|
||||
}
|
||||
|
||||
|
||||
if (sender_match && type_match && tag_match) {
|
||||
if (event->ev_attributes & ISC_EVENTATTR_NOPURGE) {
|
||||
t_info("event %p,%d,%d matched but was not purgable\n",
|
||||
@@ -1501,7 +1501,7 @@ t_taskpurge_x(int sender, int type, int tag, int purge_sender,
|
||||
(void *)(sender + sender_cnt),
|
||||
(isc_eventtype_t)(type + type_cnt),
|
||||
t10_event2, NULL, sizeof(*event));
|
||||
|
||||
|
||||
eventtab[event_cnt]->ev_tag =
|
||||
(void *)((int)tag + tag_cnt);
|
||||
|
||||
@@ -1597,7 +1597,7 @@ t_taskpurge_x(int sender, int type, int tag, int purge_sender,
|
||||
++*nprobs;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
isc_result = isc_condition_waituntil(&T10_cv, &T10_mx, &now);
|
||||
if (isc_result != ISC_R_SUCCESS) {
|
||||
t_info("isc_condition_waituntil returned %s\n",
|
||||
@@ -1925,7 +1925,7 @@ t_tasks11(int purgable) {
|
||||
isc_result_totext(isc_result));
|
||||
++T11_nprobs;
|
||||
}
|
||||
|
||||
|
||||
isc_result = isc_condition_waituntil(&T11_cv, &T11_mx, &now);
|
||||
if (isc_result != ISC_R_SUCCESS) {
|
||||
t_info("isc_condition_waituntil returned %s\n",
|
||||
@@ -1967,7 +1967,7 @@ static const char *a11 =
|
||||
"When the event is marked as purgable, a call to "
|
||||
"isc_task_purgeevent(task, event) purges the event 'event' "
|
||||
"from the task's queue and returns ISC_TRUE.";
|
||||
|
||||
|
||||
static void
|
||||
t11(void) {
|
||||
int result;
|
||||
@@ -2005,7 +2005,7 @@ static const char *a13 =
|
||||
"sender 'sender' and of type within the range 'first' "
|
||||
"to 'last' inclusive from the task's event queue and "
|
||||
"returns the number of tasks purged.";
|
||||
|
||||
|
||||
static int
|
||||
t_tasks13(void) {
|
||||
int result;
|
||||
|
||||
Reference in New Issue
Block a user