diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 14:19:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2006-09-10 14:19:38 +0000 |
commit | 11cda35f3270363752c1e298b56ab06e6cd04fbf (patch) | |
tree | 066b546a8fe7f03b3fc876b962d0df34ef2a3b32 /source/lib/replace/test/testsuite.c | |
parent | 78e8b3a77b4a64885cfc9e56bfc957f2f897f946 (diff) | |
download | samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.tar.gz samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.tar.xz samba-11cda35f3270363752c1e298b56ab06e6cd04fbf.zip |
r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
Diffstat (limited to 'source/lib/replace/test/testsuite.c')
-rw-r--r-- | source/lib/replace/test/testsuite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/replace/test/testsuite.c b/source/lib/replace/test/testsuite.c index 33270d9a4ac..89d2ae6a88a 100644 --- a/source/lib/replace/test/testsuite.c +++ b/source/lib/replace/test/testsuite.c @@ -146,7 +146,8 @@ static int test_strdup(void) static int test_setlinebuf(void) { - /* FIXME */ + printf("testing setlinebuf\n"); + setlinebuf(stdout); return true; } |