]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Jun 2001 23:21:54 +0000 (23:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Jun 2001 23:21:54 +0000 (23:21 +0000)
2001-06-13  Ulrich Drepper  <drepper@redhat.com>

* time/sys/time.h: Don't use enum __itimer_which ever for
__itimer_which_t for C++.
Reported by Martin Buchholz <martin@xemacs.org>.

* po/fr.po: Update from translation team.

2001-06-12  H.J. Lu  <hjl@gnu.org>
2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
    Michael Deutschmann  <michael@talamasca.ocis.net>

ChangeLog
time/sys/time.h

index 976c18cc5f61205996dd79d03f670417da2a6adf..f30b7e8bd84941d608170960314b05426d6eadf2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
-2001-06-12  H.J. Lu <hjl@gnu.org>
+2001-06-13  Ulrich Drepper  <drepper@redhat.com>
+
+       * time/sys/time.h: Don't use enum __itimer_which ever for
+       __itimer_which_t for C++.
+       Reported by Martin Buchholz <martin@xemacs.org>.
+
+       * po/fr.po: Update from translation team.
+
+2001-06-12  H.J. Lu  <hjl@gnu.org>
 
        * configure.in: Fix typos in missing program names.
        * configure: Regenerated.
        * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
        * sysdeps/s390/fpu/libm-test-ulps: Likewise.
 
-2001-06-11  Michael Deutschmann <michael@talamasca.ocis.net>
+2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
 
        * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
        Use my_signo instead of MY_SIGNO and initialize it so that the
        used signal is always available.
 
 2001-06-11  Andreas Jaeger  <aj@suse.de>,
-           Michael Deutschmann <michael@talamasca.ocis.net>
+           Michael Deutschmann  <michael@talamasca.ocis.net>
 
        * io/test-lfs.c (do_prepare): Clean up error messages.
        (test_ftello): Check for EFBIG and ENOSP, clean up error messages.
index 031134011ca1592488405b1e4ee75cdc040180e6..4d55493bcdeb5c1382196db9c66bfefd4757e2d0 100644 (file)
@@ -112,7 +112,9 @@ struct itimerval
     struct timeval it_value;
   };
 
-#ifdef __USE_GNU
+#if defined __USE_GNU && !defined __cplusplus
+/* Use the nicer parameter type only in GNU mode and not for C++ since the
+   strict C++ rules prevent the automatic promotion.  */
 typedef enum __itimer_which __itimer_which_t;
 #else
 typedef int __itimer_which_t;