From owner-p4-projects@FreeBSD.ORG Wed May 14 22:43:50 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 32A0A106567C; Wed, 14 May 2008 22:43:50 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E89631065677 for ; Wed, 14 May 2008 22:43:49 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DD5CC8FC1A for ; Wed, 14 May 2008 22:43:49 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4EMhnHA061021 for ; Wed, 14 May 2008 22:43:49 GMT (envelope-from thompsa@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4EMhn5I061019 for perforce@freebsd.org; Wed, 14 May 2008 22:43:49 GMT (envelope-from thompsa@freebsd.org) Date: Wed, 14 May 2008 22:43:49 GMT Message-Id: <200805142243.m4EMhn5I061019@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to thompsa@freebsd.org using -f From: Andrew Thompson To: Perforce Change Reviews Cc: Subject: PERFORCE change 141610 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 22:43:50 -0000 http://perforce.freebsd.org/chv.cgi?CH=141610 Change 141610 by thompsa@thompsa_burger on 2008/05/14 22:43:25 Always flush each line to stdout so I can use it for evil ways in my x11 wm. Affected files ... .. //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#9 edit Differences ... ==== //depot/projects/vap/tools/tools/net80211/wlanwatch/wlanwatch.c#9 (text+ko) ==== @@ -272,7 +272,6 @@ cp += SA_SIZE(sa); } putchar('\n'); - fflush(stdout); } static const char * @@ -317,6 +316,7 @@ } bprintf(stdout, ifm->ifm_flags, ifnetflags); pmsg_addrs((char *)(ifm + 1), ifm->ifm_addrs); + fflush(stdout); break; case RTM_IFANNOUNCE: ifan = (struct if_announcemsghdr *)rtm; @@ -334,6 +334,7 @@ break; } printf("\n"); + fflush(stdout); break; case RTM_IEEE80211: #define V(type) ((struct type *)(&ifan[1])) @@ -449,6 +450,7 @@ break; } printf("\n"); + fflush(stdout); break; #undef V }