=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.c,v retrieving revision 1.86 retrieving revision 1.87 diff -c -r1.86 -r1.87 *** src/usr.bin/top/top.c 2015/10/30 13:57:33 1.86 --- src/usr.bin/top/top.c 2015/11/04 21:28:27 1.87 *************** *** 1,4 **** ! /* $OpenBSD: top.c,v 1.86 2015/10/30 13:57:33 deraadt Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: top.c,v 1.87 2015/11/04 21:28:27 tedu Exp $ */ /* * Top users/processes display for Unix *************** *** 288,296 **** /* set the buffer for stdout */ #ifdef DEBUG ! setbuffer(stdout, NULL, 0); #else ! setbuffer(stdout, stdoutbuf, sizeof stdoutbuf); #endif /* initialize some selection options */ --- 288,296 ---- /* set the buffer for stdout */ #ifdef DEBUG ! setvbuf(stdout, NULL, _IONBUF, 0); #else ! setvbuf(stdout, stdoutbuf, _IOFBF, sizeof stdoutbuf); #endif /* initialize some selection options */