autoconf macro, AC_FUNC_SETVBUF_REVERSED, does nothing.
* src/tee.c (tee_files): s/SETVBUF/setvbuf/.
* src/od.c (open_next_file): Likewise.
+2006-12-12 Jim Meyering <jim@meyering.net>
+
+ * src/system.h (SETVBUF): Remove definition, now that the
+ autoconf macro, AC_FUNC_SETVBUF_REVERSED, does nothing.
+ * src/tee.c (tee_files): s/SETVBUF/setvbuf/.
+ * src/od.c (open_next_file): Likewise.
+
2006-12-09 Jim Meyering <jim@meyering.net>
* man/Makefile.am (.x.1): Make help2man use $(PACKAGE_STRING) as the
while (in_stream == NULL);
if (limit_bytes_to_format & !flag_dump_strings)
- SETVBUF (in_stream, NULL, _IONBF, 0);
+ setvbuf (in_stream, NULL, _IONBF, 0);
return ok;
}
}
}
-#if SETVBUF_REVERSED
-# define SETVBUF(Stream, Buffer, Type, Size) \
- setvbuf (Stream, Type, Buffer, Size)
-#else
-# define SETVBUF(Stream, Buffer, Type, Size) \
- setvbuf (Stream, Buffer, Type, Size)
-#endif
-
/* Factor out some of the common --help and --version processing code. */
/* These enum values cannot possibly conflict with the option values
the first one correspond to standard output. */
descriptors[0] = stdout;
files[0] = _("standard output");
- SETVBUF (stdout, NULL, _IONBF, 0);
+ setvbuf (stdout, NULL, _IONBF, 0);
for (i = 1; i <= nfiles; i++)
{
ok = false;
}
else
- SETVBUF (descriptors[i], NULL, _IONBF, 0);
+ setvbuf (descriptors[i], NULL, _IONBF, 0);
}
while (1)