]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 17:08:29 +0000 (17:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 17:08:29 +0000 (17:08 +0000)
2000-08-20  Ulrich Drepper  <drepper@redhat.com>

* time/tst-getdate.c (main): Make error messages more human readable.

* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
postinc/postdec instruction.
(_FPU_SETCW): Likewise.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

ChangeLog
manual/math.texi
time/tst-getdate.c

index e973a8373daa3fd648a8e2f5458163488a25816d..4a2526866c4095ac1853eab6f89442f3ba338c62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2000-08-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * time/tst-getdate.c (main): Make error messages more human readable.
+
+       * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
+       postinc/postdec instruction.
+       (_FPU_SETCW): Likewise.
+       Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
+
 2000-08-20  Andreas Jaeger  <aj@suse.de>
 
        * time/tst-getdate.c (main): Increase error in case of wrong
index cc29cd61015a93b68533b4e5fc1810a1bcad4bfd..9c0552d2ffa4544540fecd0edd0169683736df76 100644 (file)
@@ -1406,6 +1406,8 @@ a previous call to @var{initstate} or @var{setstate}.
 The return value is the previous value of the state information array.
 You can use this value later as an argument to @code{setstate} to
 restore that state.
+
+If the function fails the return value is @code{NULL}.
 @end deftypefun
 
 @node SVID Random
index d07fb3d06dcf796a8cfc606297dadf88d847adec..d5824f67665527f22e8fb707add8f616d683a88a 100644 (file)
@@ -101,10 +101,10 @@ main (void)
        {
          printf ("Failure for getdate (\"%s\"):\n", tests[i].str);
          printf ("struct tm is:  %d-%d-%d %d:%d:%d\n",
-                 tm->tm_year+1900, tm->tm_mon, tm->tm_mday,
+                 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
                  tm->tm_hour, tm->tm_min, tm->tm_sec);
          printf ("but should be: %d-%d-%d %d:%d:%d\n",
-                 tests[i].tm.tm_year+1900, tests[i].tm.tm_mon,
+                 tests[i].tm.tm_year + 1900, tests[i].tm.tm_mon + 1,
                  tests[i].tm.tm_mday,
                  tests[i].tm.tm_hour, tests[i].tm.tm_min, tests[i].tm.tm_sec);
          ++errors;