OSSP CVS Repository

ossp - Check-in [3642]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3642
Date: 2003-Oct-17 19:39:29 (local)
2003-Oct-17 17:39:29 (UTC)
User:rse
Branch:
Comment: 1. Use GCC 3.3 option "-fno-strict-aliasing" (if available) under Autoconf option "--enable-debug" because mainly pth_mctx.c contains important and correct pointer casting constructs which are not acceptable in "strict aliasing" for GCC.

2. Upgraded to GNU libtool 1.5.

Tickets:
Inspections:
Files:
ossp-pkg/pth/ChangeLog      1.607 -> 1.608     9 inserted, 0 deleted
ossp-pkg/pth/aclocal.m4      1.101 -> 1.102     1 inserted, 0 deleted
ossp-pkg/pth/devtool.conf      1.14 -> 1.15     1 inserted, 1 deleted
ossp-pkg/pth/pth_string.c      1.9 -> 1.10     3 inserted, 3 deleted

ossp-pkg/pth/ChangeLog 1.607 -> 1.608

--- ChangeLog    2003/04/03 18:09:05     1.607
+++ ChangeLog    2003/10/17 17:39:29     1.608
@@ -21,6 +21,15 @@
                   
   Changes between 2.0.0 and 2.0.1 (17-Feb-2003 to xx-XXX-2003)
 
+   *) Use GCC 3.3 option "-fno-strict-aliasing" (if available) under
+      Autoconf option "--enable-debug" because mainly pth_mctx.c
+      contains important and correct pointer casting constructs which
+      are not acceptable in "strict aliasing" for GCC.
+      [Ralf S. Engelschall]
+
+   *) Upgraded to GNU libtool 1.5.
+      [Ralf S. Engelschall]
+
    *) Fixed implementation so that --enable-pthread now correctly
       implies --enable-syscall-soft.
       [Steve Alstrin <Steve.Alstrin@NetIQ.com>, Ralf S. Engelschall]


ossp-pkg/pth/aclocal.m4 1.101 -> 1.102

--- aclocal.m4   2003/01/01 15:49:11     1.101
+++ aclocal.m4   2003/10/17 17:39:29     1.102
@@ -394,6 +394,7 @@
     WMORE="$WMORE -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
     AC_COMPILER_OPTION(wmore, -W<xxx>, $WMORE, CFLAGS="$CFLAGS $WMORE")
     AC_COMPILER_OPTION(wnolonglong, -Wno-long-long, -Wno-long-long, CFLAGS="$CFLAGS -Wno-long-long")
+    AC_COMPILER_OPTION(fnostrictaliasing, -fno-strict-aliasing, -fno-strict-aliasing, CFLAGS="$CFLAGS -fno-strict-aliasing")
 else
     case "$CFLAGS" in
         *-g* ) ;;


ossp-pkg/pth/devtool.conf 1.14 -> 1.15

--- devtool.conf 2003/02/11 13:19:27     1.14
+++ devtool.conf 2003/10/17 17:39:29     1.15
@@ -4,7 +4,7 @@
 
 %autogen
     @autogen shtool   1.6.2 "1.6.*" echo version scpp mkdir install fixperm tarball
-    @autogen libtool  1.4.3 "1.4*"
+    @autogen libtool  1.5   "1.5*"
     @autogen autoconf 2.57  "2.5*"
 
 %autoclean


ossp-pkg/pth/pth_string.c 1.9 -> 1.10

--- pth_string.c 2003/03/22 20:28:42     1.9
+++ pth_string.c 2003/10/17 17:39:29     1.10
@@ -485,12 +485,12 @@
 }
 
 static LDOUBLE
-pow10(int exp)
+pow10(int exponent)
 {
     LDOUBLE result = 1;
-    while (exp) {
+    while (exponent > 0) {
         result *= 10;
-        exp--;
+        exponent--;
     }
     return result;
 }

CVSTrac 2.0.1