cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs ./ChangeLog ./configure build-aux/config.r...


From: Mark D. Baushke
Subject: [Cvs-cvs] ccvs ./ChangeLog ./configure build-aux/config.r...
Date: Sat, 13 May 2006 20:47:49 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Mark D. Baushke <address@hidden>        06/05/13 20:47:48

Modified files:
        .              : ChangeLog configure 
        build-aux      : config.rpath 
        lib            : ChangeLog Makefile.gnulib inttypes.h stdint_.h 
                         verify.h 
        m4             : ChangeLog _inttypes_h.m4 full-header-path.m4 
                         gnulib-cache.m4 gnulib-comp.m4 
        windows-NT     : ChangeLog stamp-chi stdint.h 

Log message:
        * configure: Regenerate.
        * build-aux/config.rpath: Regenerated via gnulib-update.
        
        * lib/inttypes.h, lib/stdint_.h, lib/verify.h: Updated from gnulib.
        * lib/Makefile.gnulib: Regenerated by gnulib-update.
        
        * m4/_inttypes_h.m4, m4/full-header-path.m4, m4/gnulib-cache.m4,
        m4/gnulib-comp.m4: Update from gnulib.
        
        * windows-NT/stamp-chi, windows-NT/stdint.h: Regenerated.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/ChangeLog.diff?tr1=1.1298&tr2=1.1299&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/configure.diff?tr1=1.447&tr2=1.448&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/build-aux/config.rpath.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/lib/ChangeLog.diff?tr1=1.505&tr2=1.506&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/lib/Makefile.gnulib.diff?tr1=1.72&tr2=1.73&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/lib/inttypes.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/lib/stdint_.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/lib/verify.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/ChangeLog.diff?tr1=1.166&tr2=1.167&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/_inttypes_h.m4.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/full-header-path.m4.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/gnulib-cache.m4.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/gnulib-comp.m4.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/windows-NT/ChangeLog.diff?tr1=1.351&tr2=1.352&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/windows-NT/stamp-chi.diff?tr1=1.95&tr2=1.96&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/windows-NT/stdint.h.diff?tr1=1.7&tr2=1.8&r1=text&r2=text

Patches:
Index: ccvs/ChangeLog
diff -u ccvs/ChangeLog:1.1298 ccvs/ChangeLog:1.1299
--- ccvs/ChangeLog:1.1298       Wed May 10 17:40:21 2006
+++ ccvs/ChangeLog      Sat May 13 20:47:47 2006
@@ -1,3 +1,8 @@
+2006-05-13  Mark Baushke  <address@hidden>
+
+       * configure: Regenerate.
+       * build-aux/config.rpath: Regenerated via gnulib-update.
+
 2006-05-10  Derek Price  <address@hidden>
 
        * BUGS: Note temporary hobling of log_accum.pl.
Index: ccvs/build-aux/config.rpath
diff -u ccvs/build-aux/config.rpath:1.1 ccvs/build-aux/config.rpath:1.2
--- ccvs/build-aux/config.rpath:1.1     Tue Apr  5 20:42:48 2005
+++ ccvs/build-aux/config.rpath Sat May 13 20:47:48 2006
@@ -2,7 +2,7 @@
 # Output a system dependent set of variables, describing how to set the
 # run time search path of shared libraries in an executable.
 #
-#   Copyright 1996-2005 Free Software Foundation, Inc.
+#   Copyright 1996-2006 Free Software Foundation, Inc.
 #   Taken from GNU libtool, 2001
 #   Originally by Gordon Matzigkeit <address@hidden>, 1996
 #
@@ -78,6 +78,9 @@
         como)
           wl='-lopt='
           ;;
+        c89* | c99*)
+          wl='-Wl,'
+          ;;
       esac
       ;;
     osf3* | osf4* | osf5*)
Index: ccvs/configure
diff -u ccvs/configure:1.447 ccvs/configure:1.448
--- ccvs/configure:1.447        Tue May  9 01:52:18 2006
+++ ccvs/configure      Sat May 13 20:47:47 2006
@@ -23003,7 +23003,7 @@
 
 
 if test $gl_cv_have_include_next = no; then
-  echo "$as_me:$LINENO: checking full path to <inttypes.h>" >&5
+    echo "$as_me:$LINENO: checking full path to <inttypes.h>" >&5
 echo $ECHO_N "checking full path to <inttypes.h>... $ECHO_C" >&6
 if test "${gl_cv_full_path_inttypes_h+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -23034,8 +23034,8 @@
 #define FULL_PATH_INTTYPES_H <$gl_cv_full_path_inttypes_h>
 _ACEOF
 
-  fi
 
+fi
 
   :
 
Index: ccvs/lib/ChangeLog
diff -u ccvs/lib/ChangeLog:1.505 ccvs/lib/ChangeLog:1.506
--- ccvs/lib/ChangeLog:1.505    Tue Apr 25 14:48:46 2006
+++ ccvs/lib/ChangeLog  Sat May 13 20:47:48 2006
@@ -1,3 +1,8 @@
+2006-05-13  Mark Baushke  <address@hidden>
+
+       * inttypes.h, stdint_.h, verify.h: Updated from gnulib.
+       * Makefile.gnulib: Regenerated by gnulib-update.
+
 2006-04-25  Derek Price  <address@hidden>
 
        * base64.c, getdate.c, getdate.y: Updated from gnulib.
Index: ccvs/lib/Makefile.gnulib
diff -u ccvs/lib/Makefile.gnulib:1.72 ccvs/lib/Makefile.gnulib:1.73
--- ccvs/lib/Makefile.gnulib:1.72       Tue Apr 25 14:48:46 2006
+++ ccvs/lib/Makefile.gnulib    Sat May 13 20:47:48 2006
@@ -1,10 +1,10 @@
 ## Process this file with automake to produce Makefile.in.
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004-2006 Free Software Foundation, Inc.
 #
 # This file is free software, distributed under the terms of the GNU
 # General Public License.  As a special exception to the GNU General
 # Public License, this file may be distributed as part of a program
-# that contains a configuration script generated by Automake, under
+# that contains a configuration script generated by Autoconf, under
 # the same distribution terms as the rest of that program.
 #
 # Generated by gnulib-tool.
Index: ccvs/lib/inttypes.h
diff -u ccvs/lib/inttypes.h:1.2 ccvs/lib/inttypes.h:1.3
--- ccvs/lib/inttypes.h:1.2     Wed Apr 19 16:49:15 2006
+++ ccvs/lib/inttypes.h Sat May 13 20:47:48 2006
@@ -21,7 +21,7 @@
 
 /*
  * A wrapper for the ISO C 99 <inttypes.h>.
- * <http://www.opengroup.org/onlinepubs/007904975/basedefs/inttypes.h.html>
+ * <http://www.opengroup.org/susv3xbd/inttypes.h.html>
  *
  * Currently, if the system <inttypes.h> is missing or not C99 compliant, then
  * this header may only provide the required <stdint.h> (which may be the
Index: ccvs/lib/stdint_.h
diff -u ccvs/lib/stdint_.h:1.7 ccvs/lib/stdint_.h:1.8
--- ccvs/lib/stdint_.h:1.7      Thu Mar 30 18:13:12 2006
+++ ccvs/lib/stdint_.h  Sat May 13 20:47:48 2006
@@ -21,7 +21,7 @@
 
 /*
  * ISO C 99 <stdint.h> for platforms that lack it.
- * <http://www.opengroup.org/onlinepubs/007904975/basedefs/stdint.h.html>
+ * <http://www.opengroup.org/susv3xbd/stdint.h.html>
  */
 
 /* Get wchar_t, WCHAR_MIN, WCHAR_MAX.  */
Index: ccvs/lib/verify.h
diff -u ccvs/lib/verify.h:1.1 ccvs/lib/verify.h:1.2
--- ccvs/lib/verify.h:1.1       Fri Apr  7 17:17:55 2006
+++ ccvs/lib/verify.h   Sat May 13 20:47:48 2006
@@ -1,6 +1,6 @@
 /* Compile-time assert-like macros.
 
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -16,25 +16,111 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-/* Written by Paul Eggert and Jim Meyering.  */
+/* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */
 
 #ifndef VERIFY_H
 # define VERIFY_H 1
 
-/* Each of these macros verifies that its argument R is a nonzero
-   constant expression.  To be portable, R's type must be integer (or
-   boolean).  Unlike assert, there is no run-time overhead.
+/* Each of these macros verifies that its argument R is nonzero.  To
+   be portable, R should be an integer constant expression.  Unlike
+   assert (R), there is no run-time overhead.
 
    There are two macros, since no single macro can be used in all
-   contexts in C.  verify_true (R) is for scalar contexts, where it
-   may be cast to void if need be.  verify (R) is for declaration
+   contexts in C.  verify_true (R) is for scalar contexts, including
+   integer constant expression contexts.  verify (R) is for declaration
    contexts, e.g., the top level.
 
-   The symbols verify_error_if_negative_size__ and verify_function__
-   are private to this header.  */
+   Symbols ending in "__" are private to this header.
+
+   The code below uses several ideas.
+
+   * The first step is ((R) ? 1 : -1).  Given an expression R, of
+     integral or boolean or floating-point type, this yields an
+     expression of integral type, whose value is later verified to be
+     constant and nonnegative.
+
+   * Next this expression W is wrapped in a type
+     struct verify_type__ { unsigned int verify_error_if_negative_size__: W; }.
+     If W is negative, this yields a compile-time error.  No compiler can
+     deal with a bit-field of negative size.
+
+     One might think that an array size check would have the same
+     effect, that is, that the type struct { unsigned int dummy[W]; }
+     would work as well.  However, inside a function, some compilers
+     (such as C++ compilers and GNU C) allow local parameters and
+     variables inside array size expressions.  With these compilers,
+     an array size check would not properly diagnose this misuse of
+     the verify macro:
+
+       void function (int n) { verify (n < 0); }
+
+   * For the verify macro, the struct verify_type__ will need to
+     somehow be embedded into a declaration.  To be portable, this
+     declaration must declare an object, a constant, a function, or a
+     typedef name.  If the declared entity uses the type directly,
+     such as in
+
+       struct dummy {...};
+       typedef struct {...} dummy;
+       extern struct {...} *dummy;
+       extern void dummy (struct {...} *);
+       extern struct {...} *dummy (void);
+
+     two uses of the verify macro would yield colliding declarations
+     if the entity names are not disambiguated.  A workaround is to
+     attach the current line number to the entity name:
+
+       #define GL_CONCAT0(x, y) x##y
+       #define GL_CONCAT(x, y) GL_CONCAT0 (x, y)
+       extern struct {...} * GL_CONCAT(dummy,__LINE__);
+
+     But this has the problem that two invocations of verify from
+     within the same macro would collide, since the __LINE__ value
+     would be the same for both invocations.
+
+     A solution is to use the sizeof operator.  It yields a number,
+     getting rid of the identity of the type.  Declarations like
+
+       extern int dummy [sizeof (struct {...})];
+       extern void dummy (int [sizeof (struct {...})]);
+       extern int (*dummy (void)) [sizeof (struct {...})];
+
+     can be repeated.
+
+   * Should the implementation use a named struct or an unnamed struct?
+     Which of the following alternatives can be used?
+
+       extern int dummy [sizeof (struct {...})];
+       extern int dummy [sizeof (struct verify_type__ {...})];
+       extern void dummy (int [sizeof (struct {...})]);
+       extern void dummy (int [sizeof (struct verify_type__ {...})]);
+       extern int (*dummy (void)) [sizeof (struct {...})];
+       extern int (*dummy (void)) [sizeof (struct verify_type__ {...})];
+
+     In the second and sixth case, the struct type is exported to the
+     outer scope; two such declarations therefore collide.  GCC warns
+     about the first, third, and fourth cases.  So the only remaining
+     possibility is the fifth case:
+
+       extern int (*dummy (void)) [sizeof (struct {...})];
+
+   * This implementation exploits the fact that GCC does not warn about
+     the last declaration mentioned above.  If a future version of GCC
+     introduces a warning for this, the problem could be worked around
+     by using code specialized to GCC, e.g.,:
+
+       #if 4 <= __GNUC__
+       # define verify(R) \
+          extern int (* verify_function__ (void)) \
+                     [__builtin_constant_p (R) && (R) ? 1 : -1]
+       #endif
+
+   * In C++, any struct definition inside sizeof is invalid.
+     Use a template type to work around the problem.  */
+
 
 /* Verify requirement R at compile-time, as an integer constant expression.
-   Return true.  */
+   Return 1.  */
 
 # ifdef __cplusplus
 template <int w>
Index: ccvs/m4/ChangeLog
diff -u ccvs/m4/ChangeLog:1.166 ccvs/m4/ChangeLog:1.167
--- ccvs/m4/ChangeLog:1.166     Thu Apr 27 18:42:25 2006
+++ ccvs/m4/ChangeLog   Sat May 13 20:47:48 2006
@@ -1,3 +1,8 @@
+2006-05-13  Mark Baushke  <address@hidden>
+
+       * _inttypes_h.m4, full-header-path.m4, gnulib-cache.m4,
+       gnulib-comp.m4: Update from gnulib.
+
 2006-04-27  Derek Price  <address@hidden>
 
        * acx_with_gssapi.m4 (ACX_WITH_GSSAPI): Detect libgss for HP-UX.
Index: ccvs/m4/_inttypes_h.m4
diff -u ccvs/m4/_inttypes_h.m4:1.1 ccvs/m4/_inttypes_h.m4:1.2
--- ccvs/m4/_inttypes_h.m4:1.1  Wed Apr 12 19:51:23 2006
+++ ccvs/m4/_inttypes_h.m4      Sat May 13 20:47:48 2006
@@ -1,4 +1,4 @@
-# _inttypes_h.m4 serial 1
+# _inttypes_h.m4 serial 2
 dnl Copyright (C) 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -7,7 +7,10 @@
 dnl From Derek Price.
 
 AC_DEFUN([gl_INTTYPES_H],
-[AC_LIBSOURCES([inttypes.h])
-gl_FULL_HEADER_PATH([inttypes.h])
+[AC_REQUIRE([gl_INCLUDE_NEXT])dnl
+AC_LIBSOURCES([inttypes.h])
+if test $gl_cv_have_include_next = no; then
+  gl_FULL_HEADER_PATH([inttypes.h])
+fi
 AC_CHECK_DECLS_ONCE([strtoimax strtoumax])dnl
 ])
Index: ccvs/m4/full-header-path.m4
diff -u ccvs/m4/full-header-path.m4:1.3 ccvs/m4/full-header-path.m4:1.4
--- ccvs/m4/full-header-path.m4:1.3     Wed Apr 19 16:49:25 2006
+++ ccvs/m4/full-header-path.m4 Sat May 13 20:47:48 2006
@@ -1,4 +1,4 @@
-# full-header-path.m4 serial 1
+# full-header-path.m4 serial 2
 dnl Copyright (C) 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -8,16 +8,13 @@
 
 # gl_FULL_HEADER_PATH(HEADER1 HEADER2 ...)
 # ----------------------------------------
-# Find the full path to a header file, when the #include_next directive
-# doesn't work and the header exists in the first place.  If the header were
-# sys/inttypes.h (and it existed and #include_next didn't work), this macro
-# would define FULL_PATH_SYS_INTTYPES_H to the `<>' quoted full path to
-# sys/inttypes.h in config.h
+# Find the full path to a header file, assuming the header exists.
+# If the header were sys/inttypes.h, this macro would define
+# FULL_PATH_SYS_INTTYPES_H to the `<>' quoted full path to sys/inttypes.h
+# in config.h
 # (e.g. `#define FULL_PATH_SYS_INTTYPES_H </usr/include/sys/inttypes.h>').
 AC_DEFUN([gl_FULL_HEADER_PATH],
 [AC_LANG_PREPROC_REQUIRE()dnl
-AC_REQUIRE([gl_INCLUDE_NEXT])dnl
-if test $gl_cv_have_include_next = no; then
 AC_FOREACH([gl_HEADER_NAME], [$1],
   [AS_VAR_PUSHDEF([gl_full_header_path],
                   [gl_cv_full_path_]m4_quote(m4_defn([gl_HEADER_NAME])))dnl
@@ -41,5 +38,4 @@
                      [Define this to the full path to 
<]m4_quote(m4_defn([gl_HEADER_NAME]))[>.])
   AS_VAR_POPDEF([gl_full_header_path])dnl
 ])dnl
-fi
 ])# gl_FULL_HEADER_PATH
Index: ccvs/m4/gnulib-cache.m4
diff -u ccvs/m4/gnulib-cache.m4:1.7 ccvs/m4/gnulib-cache.m4:1.8
--- ccvs/m4/gnulib-cache.m4:1.7 Mon Apr 24 18:50:25 2006
+++ ccvs/m4/gnulib-cache.m4     Sat May 13 20:47:48 2006
@@ -1,4 +1,5 @@
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004-2006 Free Software Foundation, Inc.
+#
 # This file is free software, distributed under the terms of the GNU
 # General Public License.  As a special exception to the GNU General
 # Public License, this file may be distributed as part of a program
Index: ccvs/m4/gnulib-comp.m4
diff -u ccvs/m4/gnulib-comp.m4:1.15 ccvs/m4/gnulib-comp.m4:1.16
--- ccvs/m4/gnulib-comp.m4:1.15 Mon Apr 24 18:50:25 2006
+++ ccvs/m4/gnulib-comp.m4      Sat May 13 20:47:48 2006
@@ -1,4 +1,5 @@
-# Copyright (C) 2004 Free Software Foundation, Inc.
+# Copyright (C) 2004-2006 Free Software Foundation, Inc.
+#
 # This file is free software, distributed under the terms of the GNU
 # General Public License.  As a special exception to the GNU General
 # Public License, this file may be distributed as part of a program
Index: ccvs/windows-NT/ChangeLog
diff -u ccvs/windows-NT/ChangeLog:1.351 ccvs/windows-NT/ChangeLog:1.352
--- ccvs/windows-NT/ChangeLog:1.351     Sat May 13 15:18:45 2006
+++ ccvs/windows-NT/ChangeLog   Sat May 13 20:47:48 2006
@@ -1,5 +1,7 @@
 2006-05-13  Mark D. Baushke  <address@hidden>
 
+       * stamp-chi, stdint.h: Regenerated.
+
        * config.h.in.footer: Add #define OK_TO_USE_1S_CLOCK to restore
        the ability to compile gettime.c.
        * config.h.in, config.h: Ditto.
Index: ccvs/windows-NT/stamp-chi
diff -u ccvs/windows-NT/stamp-chi:1.95 ccvs/windows-NT/stamp-chi:1.96
--- ccvs/windows-NT/stamp-chi:1.95      Tue May  9 01:55:21 2006
+++ ccvs/windows-NT/stamp-chi   Sat May 13 20:47:48 2006
@@ -1456,6 +1456,9 @@
    it because _open_osfhandle doesn't work.  */
 #define NO_SOCKET_TO_FD 1
 
+/* 1-second nominal clock resolution is okay. */
+#define OK_TO_USE_1S_CLOCK 1
+
 /* Is this true on NT?  Seems like I remember reports that NT 3.51 has
    problems with 200K writes (of course, the issue of large writes is
    moot since the use of buffer.c ensures that writes will only be as big
Index: ccvs/windows-NT/stdint.h
diff -u ccvs/windows-NT/stdint.h:1.7 ccvs/windows-NT/stdint.h:1.8
--- ccvs/windows-NT/stdint.h:1.7        Thu Mar 30 18:13:12 2006
+++ ccvs/windows-NT/stdint.h    Sat May 13 20:47:48 2006
@@ -28,7 +28,7 @@
 
 /*
  * ISO C 99 <stdint.h> for platforms that lack it.
- * <http://www.opengroup.org/onlinepubs/007904975/basedefs/stdint.h.html>
+ * <http://www.opengroup.org/susv3xbd/stdint.h.html>
  */
 
 /* Get wchar_t, WCHAR_MIN, WCHAR_MAX.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]