diff --git a/src/cf/functions.m4 b/src/cf/functions.m4 index 442f759f14..927b75f459 100644 --- a/src/cf/functions.m4 +++ b/src/cf/functions.m4 @@ -26,7 +26,6 @@ AC_CHECK_FUNCS([ \ regerror \ regexec \ setitimer \ - setvbuf \ sigaction \ strcasestr \ strerror \ diff --git a/src/util/serverLog.c b/src/util/serverLog.c index d5d3728846..36e8c5eee8 100644 --- a/src/util/serverLog.c +++ b/src/util/serverLog.c @@ -527,11 +527,7 @@ RedirectStdStreams(const char *fileName) /* don't care */ } if (freopen(fileName, "a", stderr) != NULL) { -#ifdef HAVE_SETVBUF setvbuf(stderr, NULL, _IONBF, 0); -#else - setbuf(stderr, NULL); -#endif } }