1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

r18343: fixed setlinebuf() prototype, added test for it, and use it in two

places to avoid a #ifdef
This commit is contained in:
Andrew Tridgell
2006-09-10 14:19:38 +00:00
committed by Gerald (Jerry) Carter
parent e191f84f24
commit 095b805774
5 changed files with 7 additions and 10 deletions

View File

@@ -151,9 +151,7 @@ static int binary_net(int argc, const char **argv)
{ NULL }
};
#ifdef HAVE_SETBUFFER
setbuffer(stdout, NULL, 0);
#endif
setlinebuf(stdout);
pc = poptGetContext("net", argc, (const char **) argv, long_options,
POPT_CONTEXT_KEEP_FIRST);