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:
committed by
Gerald (Jerry) Carter
parent
e191f84f24
commit
095b805774
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user