Date: Wed, 14 May 2008 22:43:49 GMT From: Andrew Thompson <thompsa@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 141610 for review Message-ID: <200805142243.m4EMhn5I061019@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805142243.m4EMhn5I061019>