From 2007ed4b95183f5ca70d7981e497b6471757f160 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 21 Jan 2008 16:10:38 +0000 Subject: Prefer for (;;) over while (1) --- src/rc/runscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 6af2121c..11432164 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -456,7 +456,7 @@ static bool svc_exec (const char *arg1, const char *arg2) selfd = MAX (master_tty, signal_pipe[0]) + 1; buffer = xmalloc (sizeof (char) * BUFSIZ); - while (1) { + for (;;) { FD_ZERO (&rset); FD_SET (signal_pipe[0], &rset); if (master_tty >= 0) -- cgit v1.2.3