From 5f3375c4be411835be85b4c9bb559aebb0123005 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 28 Jul 2000 03:39:12 +0000 Subject: [PATCH] use "do { ... } while (1)" form of infinite loop to shut up some compilers --- bin/nsupdate/nsupdate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index af405ee923..5fb881459b 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nsupdate.c,v 1.35 2000/07/27 23:27:36 bwelling Exp $ */ +/* $Id: nsupdate.c,v 1.36 2000/07/28 03:39:12 tale Exp $ */ #include @@ -1370,7 +1370,7 @@ main(int argc, char **argv) { check_result(result, "isc_condition_init"); LOCK(&lock); - while (ISC_TRUE) { + do { reset_system(); if (!user_interaction()) break; @@ -1378,7 +1378,7 @@ main(int argc, char **argv) { start_update(); while (busy) WAIT(&cond, &lock); - } + } while (1); fprintf(stdout, "\n"); isc_mutex_destroy(&lock);