cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] ccvs/m4 ChangeLog extensions.m4 getcwd-path-max...


From: Derek Robert Price
Subject: [Cvs-cvs] ccvs/m4 ChangeLog extensions.m4 getcwd-path-max...
Date: Tue, 25 Apr 2006 14:50:23 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Derek Robert Price <address@hidden>     06/04/25 14:50:23

Modified files:
        m4             : ChangeLog extensions.m4 getcwd-path-max.m4 
                         getlogin_r.m4 getpass.m4 nanosleep.m4 rename.m4 
                         strerror_r.m4 unlocked-io.m4 

Log message:
        * extensions.m4, getcwd-path-max.m4, getlogin_r.m4, getpass.m4,
        nanosleep.m4, rename.m4, strerror_r.m4, unlocked-io.m4: Update from
        GNULIB.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/ChangeLog.diff?tr1=1.164&tr2=1.165&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/extensions.m4.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/getcwd-path-max.m4.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/getlogin_r.m4.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/getpass.m4.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/nanosleep.m4.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/rename.m4.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/strerror_r.m4.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/unlocked-io.m4.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: ccvs/m4/ChangeLog
diff -u ccvs/m4/ChangeLog:1.164 ccvs/m4/ChangeLog:1.165
--- ccvs/m4/ChangeLog:1.164     Mon Apr 24 18:50:25 2006
+++ ccvs/m4/ChangeLog   Tue Apr 25 14:50:23 2006
@@ -1,3 +1,9 @@
+2006-04-25  Derek Price  <address@hidden>
+
+       * extensions.m4, getcwd-path-max.m4, getlogin_r.m4, getpass.m4,
+       nanosleep.m4, rename.m4, strerror_r.m4, unlocked-io.m4: Update from
+       GNULIB.
+
 2005-10-27  Derek Price  <address@hidden>
 
        * base64.m4: New file from GNULIB.
Index: ccvs/m4/extensions.m4
diff -u ccvs/m4/extensions.m4:1.4 ccvs/m4/extensions.m4:1.5
--- ccvs/m4/extensions.m4:1.4   Mon Mar 20 02:21:56 2006
+++ ccvs/m4/extensions.m4       Tue Apr 25 14:50:23 2006
@@ -5,6 +5,9 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# This file is only needed in autoconf <= 2.59.  Newer versions of autoconf
+# have a macro AC_USE_SYSTEM_EXTENSIONS with identical semantics.
+
 # gl_USE_SYSTEM_EXTENSIONS
 # ------------------------
 # Enable extensions on systems that normally disable them,
Index: ccvs/m4/getcwd-path-max.m4
diff -u ccvs/m4/getcwd-path-max.m4:1.4 ccvs/m4/getcwd-path-max.m4:1.5
--- ccvs/m4/getcwd-path-max.m4:1.4      Fri Aug 12 20:57:46 2005
+++ ccvs/m4/getcwd-path-max.m4  Tue Apr 25 14:50:23 2006
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
 # Check for several getcwd bugs with long file names.
 # If so, arrange to compile the wrapper function.
 
@@ -6,7 +6,7 @@
 # I've heard that this is due to a Linux kernel bug, and that it has
 # been fixed between 2.4.21-pre3 and 2.4.21-pre4.  */
 
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -61,7 +61,7 @@
 #define BUF_SLOP 20
 
 int
-main (void)
+main ()
 {
 #ifndef PATH_MAX
   /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
Index: ccvs/m4/getlogin_r.m4
diff -u ccvs/m4/getlogin_r.m4:1.2 ccvs/m4/getlogin_r.m4:1.3
--- ccvs/m4/getlogin_r.m4:1.2   Sat Sep  3 20:45:42 2005
+++ ccvs/m4/getlogin_r.m4       Tue Apr 25 14:50:23 2006
@@ -1,6 +1,6 @@
-#serial 1
+#serial 2
 
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -29,5 +29,6 @@
 AC_DEFUN([gl_PREREQ_GETLOGIN_R],
 [
   AC_CHECK_HEADERS_ONCE([unistd.h])
-  AC_CHECK_DECLS_ONCE([getlogin getlogin_r])
+  AC_CHECK_DECLS_ONCE([getlogin])
+  AC_CHECK_DECLS_ONCE([getlogin_r])
 ])
Index: ccvs/m4/getpass.m4
diff -u ccvs/m4/getpass.m4:1.8 ccvs/m4/getpass.m4:1.9
--- ccvs/m4/getpass.m4:1.8      Sun Sep  4 05:58:36 2005
+++ ccvs/m4/getpass.m4  Tue Apr 25 14:50:23 2006
@@ -1,5 +1,5 @@
-# getpass.m4 serial 6
-dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
+# getpass.m4 serial 7
+dnl Copyright (C) 2002-2003, 2005-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,
 dnl with or without modifications, as long as this notice is preserved.
@@ -37,5 +37,9 @@
 AC_DEFUN([gl_PREREQ_GETPASS], [
   AC_CHECK_HEADERS_ONCE(stdio_ext.h termios.h)
   AC_CHECK_FUNCS_ONCE(__fsetlocking tcgetattr tcsetattr)
-  AC_CHECK_DECLS_ONCE([fflush_unlocked flockfile fputs_unlocked funlockfile 
putc_unlocked])
+  AC_CHECK_DECLS_ONCE([fflush_unlocked])
+  AC_CHECK_DECLS_ONCE([flockfile])
+  AC_CHECK_DECLS_ONCE([fputs_unlocked])
+  AC_CHECK_DECLS_ONCE([funlockfile])
+  AC_CHECK_DECLS_ONCE([putc_unlocked])
 ])
Index: ccvs/m4/nanosleep.m4
diff -u ccvs/m4/nanosleep.m4:1.6 ccvs/m4/nanosleep.m4:1.7
--- ccvs/m4/nanosleep.m4:1.6    Mon Mar 20 02:21:56 2006
+++ ccvs/m4/nanosleep.m4        Tue Apr 25 14:50:23 2006
@@ -1,4 +1,4 @@
-#serial 15
+#serial 16
 
 dnl From Jim Meyering.
 dnl Check for the nanosleep function.
@@ -51,7 +51,7 @@
       struct timespec ts_sleep, ts_remaining;
       ts_sleep.tv_sec = 0;
       ts_sleep.tv_nsec = 1;
-      exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1);
+      return nanosleep (&ts_sleep, &ts_remaining) != 0;
     }
          ],
         jm_cv_func_nanosleep_works=yes,
Index: ccvs/m4/rename.m4
diff -u ccvs/m4/rename.m4:1.2 ccvs/m4/rename.m4:1.3
--- ccvs/m4/rename.m4:1.2       Fri Jun 10 20:31:04 2005
+++ ccvs/m4/rename.m4   Tue Apr 25 14:50:23 2006
@@ -1,6 +1,6 @@
-#serial 8
+#serial 9
 
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -23,6 +23,7 @@
       AC_MSG_ERROR([cannot create temporary directory])
     AC_TRY_RUN([
 #       include <stdio.h>
+#       include <stdlib.h>
         int
         main ()
         {
Index: ccvs/m4/strerror_r.m4
diff -u ccvs/m4/strerror_r.m4:1.2 ccvs/m4/strerror_r.m4:1.3
--- ccvs/m4/strerror_r.m4:1.2   Tue Mar  1 18:15:07 2005
+++ ccvs/m4/strerror_r.m4       Tue Apr 25 14:50:23 2006
@@ -25,6 +25,7 @@
          char buf[100];
          char x = *strerror_r (0, buf, sizeof buf);
          char *p = strerror_r (0, buf, sizeof buf);
+         return !p || x;
        ]])],
                        ac_cv_func_strerror_r_char_p=yes)
     else
Index: ccvs/m4/unlocked-io.m4
diff -u ccvs/m4/unlocked-io.m4:1.6 ccvs/m4/unlocked-io.m4:1.7
--- ccvs/m4/unlocked-io.m4:1.6  Wed Mar 23 00:04:29 2005
+++ ccvs/m4/unlocked-io.m4      Tue Apr 25 14:50:23 2006
@@ -1,7 +1,7 @@
-# unlocked-io.m4 serial 12
+# unlocked-io.m4 serial 13
 
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software
-# Foundation, Inc.
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -28,9 +28,17 @@
   dnl fgets_unlocked(), fputs_unlocked() etc.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
 
-  AC_CHECK_DECLS_ONCE(
-     [clearerr_unlocked feof_unlocked ferror_unlocked
-      fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked
-      fread_unlocked fwrite_unlocked getc_unlocked
-      getchar_unlocked putc_unlocked putchar_unlocked])
+  AC_CHECK_DECLS_ONCE([clearerr_unlocked])
+  AC_CHECK_DECLS_ONCE([feof_unlocked])
+  AC_CHECK_DECLS_ONCE([ferror_unlocked])
+  AC_CHECK_DECLS_ONCE([fflush_unlocked])
+  AC_CHECK_DECLS_ONCE([fgets_unlocked])
+  AC_CHECK_DECLS_ONCE([fputc_unlocked])
+  AC_CHECK_DECLS_ONCE([fputs_unlocked])
+  AC_CHECK_DECLS_ONCE([fread_unlocked])
+  AC_CHECK_DECLS_ONCE([fwrite_unlocked])
+  AC_CHECK_DECLS_ONCE([getc_unlocked])
+  AC_CHECK_DECLS_ONCE([getchar_unlocked])
+  AC_CHECK_DECLS_ONCE([putc_unlocked])
+  AC_CHECK_DECLS_ONCE([putchar_unlocked])
 ])




reply via email to

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