Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tip while (...);



details:   https://anonhg.NetBSD.org/src/rev/6f00895c67bc
branches:  trunk
changeset: 777583:6f00895c67bc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Feb 23 23:39:19 2012 +0000

description:
while (...);
    ;
is really pointless, so remove the first semicolon.

diffstat:

 usr.bin/tip/cmds.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ac75b229eda4 -r 6f00895c67bc usr.bin/tip/cmds.c
--- a/usr.bin/tip/cmds.c        Thu Feb 23 22:57:53 2012 +0000
+++ b/usr.bin/tip/cmds.c        Thu Feb 23 23:39:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmds.c,v 1.33 2011/09/06 18:33:01 joerg Exp $  */
+/*     $NetBSD: cmds.c,v 1.34 2012/02/23 23:39:19 joerg Exp $  */
 
 /*
  * Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)cmds.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: cmds.c,v 1.33 2011/09/06 18:33:01 joerg Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.34 2012/02/23 23:39:19 joerg Exp $");
 #endif /* not lint */
 
 #include "tip.h"
@@ -887,7 +887,7 @@
        (void)close(pivec[1]);
        l = read(pivec[0], xname, BUFSIZ);
        (void)close(pivec[0]);
-       while (wait(&s) != mypid);
+       while (wait(&s) != mypid)
                ;
        s &= 0377;
        if (s != 0 && s != SIGPIPE) {



Home | Main Index | Thread Index | Old Index