From e7c036b39ef12abc7ff131982df75e3ec35c0f31 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Apr 2000 16:27:38 +0000 Subject: Update. 2000-04-11 Ulrich Drepper * posix/globtest.sh: Fix last change. 2000-04-10 Philip Blundell * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP. * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): Likewise. 2000-04-11 Ulrich Drepper * elf/readlib (process_file): Close streams in case of an error. 2000-04-09 Andreas Jaeger * elf/readlib.c (process_file): Check if file is big enough to contain aout and ELF headers. Reported by Reinhard Moosauer . 2000-04-10 Jes Sorensen * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). 2000-04-11 Ulrich Drepper * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout stream unbuffered. * rt/Makefile (tests): Add tst-clock. Add rules to build tst-clock. * rt/tst-clock.c: New file. * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide about initialization of nsec. * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide about initialization of freq. Set retval to zero if successful. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result. --- test-skeleton.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test-skeleton.c') diff --git a/test-skeleton.c b/test-skeleton.c index 729d55faa9..db04b11e63 100644 --- a/test-skeleton.c +++ b/test-skeleton.c @@ -122,6 +122,10 @@ main (int argc, char *argv[]) int status; int opt; +#ifdef STDOUT_UNBUFFERED + setbuf (stdout, NULL); +#endif + while ((opt = getopt_long (argc, argv, "", options, NULL)) != -1) switch (opt) { -- cgit v1.2.3