From 5929563ff20245bbaa1b3ca2f4bfcee623ac6fb5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 31 Mar 1997 22:56:24 +0000 Subject: Update. 1997-04-01 00:37 Ulrich Drepper * math/Makefile: Prevent inlining for test-{float,double,longdouble}. * math/libm-test.c (initialize): Make strings unique and force values to memory. * posix/regex.c: Debug debugging code. * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct syntax for local label. * sysdeps/i386/add_n.S: Use correct local label syntax for the binary format. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memset.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strlen.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. * sysdeps/stub/s_log2l.c: Correct function name. * time/africa: Updated from ADO tzdata1997e. * time/aantarctica: Likewise. * time/asia: Likewise. * time/australia: Likewise. * time/europe: Likewise. * time/northamerica: Likewise. * time/southamerica: Likewise. * time/private.h: Updated from ADO tzcode1997d. * time/scheck.c: Likewise. 1997-03-31 12:42 Ulrich Drepper * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files. 1997-03-23 01:41 Geoff Keating * sysdeps/powerpc/strlen.s: Rewrote for more speed. * string/tst-strlen.c: Also test various string alignments. 1997-03-19 06:11 Geoff Keating * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed. * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added. * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume program base address is 0x01800000 if we can't otherwise tell what it is. (elf_machine_rela): Replace `assertion failed' with real error messages. * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting. Put in extra parentheses to make explicit the relative precedence of + and >>. * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests pass. * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work. * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text" instead of .text. 1997-03-31 02:28 Ulrich Drepper * misc/tst-tsearch.c: Don't write to stderr, write to stdout instead. * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses thread-specific memory in multi-threaded programs. * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function. * sysdeps/stub/s_exp2f.c: New file. * sysdeps/stub/s_exp2l.c: New file. Reported by a sun . * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to... * sysdeps/unix/sysv/linux/netatalk/at.h: ...this. Suggested by a sun . 1997-03-30 14:53 Ulrich Drepper * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents of . Patch by a sun . * sysdeps/powerpc/strlen.S: Added. --- misc/tst-tsearch.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'misc/tst-tsearch.c') diff --git a/misc/tst-tsearch.c b/misc/tst-tsearch.c index eca11cbb95..d7551ff3eb 100644 --- a/misc/tst-tsearch.c +++ b/misc/tst-tsearch.c @@ -112,7 +112,7 @@ walk_action (const void *nodep, const VISIT which, const int depth) if (depths[key] != depth) { fputs ("Depth for one element is not constant during tree walk.\n", - stderr); + stdout); } } } @@ -129,7 +129,7 @@ walk_tree (void *root, int expected_count) for (i = 0; i < expected_count; ++i) if (z[i] != 1) { - fputs ("Node was not visited.\n", stderr); + fputs ("Node was not visited.\n", stdout); error = 1; } @@ -139,7 +139,7 @@ walk_tree (void *root, int expected_count) if (max_depth > expected_count) #endif { - fputs ("Depth too large during tree walk.\n", stderr); + fputs ("Depth too large during tree walk.\n", stdout); error = 1; } } @@ -196,7 +196,7 @@ mangle_tree (enum order how, enum action what, void **root, int lag) { if (tfind (x + j, (const void **) root, cmp_fn) != NULL) { - fputs ("Found element which is not in tree yet.\n", stderr); + fputs ("Found element which is not in tree yet.\n", stdout); error = 1; } elem = tsearch (x + j, root, cmp_fn); @@ -204,7 +204,7 @@ mangle_tree (enum order how, enum action what, void **root, int lag) || tfind (x + j, (const void **) root, cmp_fn) == NULL) { fputs ("Couldn't find element after it was added.\n", - stderr); + stdout); error = 1; } } @@ -219,7 +219,7 @@ mangle_tree (enum order how, enum action what, void **root, int lag) elem = tfind (x + j, (const void **) root, cmp_fn); if (elem == NULL || tdelete (x + j, root, cmp_fn) == NULL) { - fputs ("Error deleting element.\n", stderr); + fputs ("Error deleting element.\n", stdout); error = 1; } break; @@ -227,7 +227,7 @@ mangle_tree (enum order how, enum action what, void **root, int lag) case find: if (tfind (x + j, (const void **) root, cmp_fn) == NULL) { - fputs ("Couldn't find element after it was added.\n", stderr); + fputs ("Couldn't find element after it was added.\n", stdout); error = 1; } break; @@ -252,10 +252,10 @@ main (int argc, char **argv) /* Do this loop several times to get different permutations for the random case. */ - fputs ("Series I\n", stderr); + fputs ("Series I\n", stdout); for (i = 0; i < PASSES; ++i) { - fprintf (stderr, "Pass %d... ", i + 1); + fprintf (stdout, "Pass %d... ", i + 1); fflush (stdout); error = 0; @@ -301,14 +301,14 @@ main (int argc, char **argv) mangle_tree (randomorder, build_and_del, &root, j); } - fputs (error ? " failed!\n" : " ok.\n", stderr); + fputs (error ? " failed!\n" : " ok.\n", stdout); total_error |= error; } - fputs ("Series II\n", stderr); + fputs ("Series II\n", stdout); for (i = 1; i < SIZE; i *= 2) { - fprintf (stderr, "For size %d... ", i); + fprintf (stdout, "For size %d... ", i); fflush (stdout); error = 0; @@ -321,7 +321,7 @@ main (int argc, char **argv) mangle_tree (ascending, build_and_del, &root, i); mangle_tree (descending, build_and_del, &root, i); - fputs (error ? " failed!\n" : " ok.\n", stderr); + fputs (error ? " failed!\n" : " ok.\n", stdout); total_error |= error; } -- cgit 1.4.1