CVS update: /ccvs/m4/

[email protected] 10 Jun 2005 20:31:06 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
User: dprice  
Date: 05/06/10 13:31:06

Removed:
 /ccvs/m4/
  path-concat.m4, stat.m4

Added:
 /ccvs/m4/
  filenamecat.m4

Modified:
 /ccvs/m4/
  ChangeLog, getcwd-path-max.m4, gnulib.m4, lstat.m4, rename.m4

Log:
 Sync with GNULIB.
 * getcwd-path-max.m4, rename.m4: Update from GNULIB.
 * path-concat.m4: Rename to...
 * filenamecat: ...this.
 
 Test new stat module.
 * stat.m4: Remove this file.
 * lstat.m4: Don't check for empty string bug.

File Changes:

Directory: /ccvs/m4/
====================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/ChangeLog?r1=1.133&r2=1.134
Delta lines:  +11 -0
--------------------
--- ChangeLog	28 May 2005 17:38:33 -0000	1.133
+++ ChangeLog	10 Jun 2005 20:31:04 -0000	1.134
@@ -1,3 +1,14 @@
+2005-06-10  Derek Price  <[email protected]>
+
+	Sync with GNULIB.
+	* getcwd-path-max.m4, rename.m4: Update from GNULIB.
+	* path-concat.m4: Rename to...
+	* filenamecat: ...this.
+
+	Test new stat module.
+	* stat.m4: Remove this file.
+	* lstat.m4: Don't check for empty string bug.
+
 2005-05-28  Derek Price  <[email protected]>
 
 	* glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/.  Add comment.

File [added]: filenamecat.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/filenamecat.m4?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 14
---------------
# filenamecat.m4 serial 7
dnl Copyright (C) 2002, 2003, 2004, 2005 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.

AC_DEFUN([gl_FILE_NAME_CONCAT],
[
  AC_LIBSOURCES([filenamecat.c, filenamecat.h])
  AC_LIBOBJ([filenamecat])

  dnl Prerequisites of lib/filenamecat.c.
  AC_CHECK_FUNCS_ONCE(mempcpy)
])

File [changed]: getcwd-path-max.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/getcwd-path-max.m4?r1=1.2&r2=1.3
Delta lines:  +2 -2
-------------------
--- getcwd-path-max.m4	29 Mar 2005 16:22:44 -0000	1.2
+++ getcwd-path-max.m4	10 Jun 2005 20:31:04 -0000	1.3
@@ -1,5 +1,5 @@
-#serial 8
-# Check for several getcwd bugs with long paths.
+#serial 9
+# Check for several getcwd bugs with long file names.
 # If so, arrange to compile the wrapper function.
 
 # This is necessary for at least GNU libc on linux-2.4.19 and 2.4.20.

File [changed]: gnulib.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/gnulib.m4?r1=1.52&r2=1.53
Delta lines:  +3 -4
-------------------
--- gnulib.m4	27 May 2005 18:06:18 -0000	1.52
+++ gnulib.m4	10 Jun 2005 20:31:04 -0000	1.53
@@ -7,8 +7,8 @@
 #
 # Generated by gnulib-tool.
 #
-# Invoked as: gnulib-tool --import gettext vasnprintf regex atexit save-cwd dirname error exit exitfail extensions fnmatch-posix fnmatch mkstemp getopt stdbool getline getnline getndelim2 gethostname strcase getpass-gnu gettimeofday timespec gettime unlocked-io tzset restrict time_r mktime minmax memmove nanosleep stat lstat strerror vasprintf malloc realloc strftime xsize getpagesize md5 stdint yesno allocsa setenv getdate readlink xreadlink xgethostname mkdir rename dup2 strstr ftruncate strtoul pathmax xalloc-die pagealign_alloc closeout strdup canonicalize getlogin_r stat-macros quotearg
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --aux-dir=build-aux   alloca alloca-opt allocsa atexit canonicalize chdir-long closeout cycle-check dirname dup2 error exit exitfail extensions fnmatch fnmatch-posix fpending ftruncate getcwd getdate gethostname getline getlogin_r getndelim2 getnline getopt getpagesize getpass-gnu gettext gettime gettimeofday lstat malloc md5 memmove mempcpy memrchr minmax mkdir mkstemp mktime nanosleep openat pagealign_alloc path-concat pathmax quotearg readlink realloc regex rename restrict rpmatch save-cwd setenv stat stat-macros stdbool stdint strcase strdup strerror strftime strstr strtol strtoul time_r timespec tzset unistd-safer unlocked-io vasnprintf vasprintf xalloc xalloc-die xgetcwd xgethostname xreadlink xsize yesno
+# Invoked as: gnulib-tool --import gettext vasnprintf regex atexit save-cwd dirname error exit exitfail extensions fnmatch-posix fnmatch mkstemp getopt stdbool getline getnline getndelim2 gethostname strcase getpass-gnu gettimeofday timespec gettime unlocked-io tzset restrict time_r mktime minmax memmove nanosleep lstat strerror vasprintf malloc realloc strftime xsize getpagesize md5 stdint yesno allocsa setenv getdate readlink xreadlink xgethostname mkdir rename dup2 strstr ftruncate strtoul pathmax xalloc-die pagealign_alloc closeout strdup canonicalize getlogin_r stat-macros quotearg
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --aux-dir=build-aux   alloca alloca-opt allocsa atexit canonicalize chdir-long closeout cycle-check dirname dup2 error exit exitfail extensions filenamecat fnmatch fnmatch-posix fpending ftruncate getcwd getdate gethostname getline getlogin_r getndelim2 getnline getopt getpagesize getpass-gnu gettext gettime gettimeofday lstat malloc md5 memmove mempcpy memrchr minmax mkdir mkstemp mktime nanosleep openat pagealign_alloc pathmax quotearg readlink realloc regex rename restrict rpmatch save-cwd setenv stat-macros stdbool stdint strcase strdup strerror strftime strstr strtol strtoul time_r timespec tzset unistd-safer unlocked-io vasnprintf vasprintf xalloc xalloc-die xgetcwd xgethostname xreadlink xsize yesno
 
 AC_DEFUN([gl_EARLY],
 [
@@ -29,6 +29,7 @@
   gl_ERROR
   gl_EXITFAIL
   dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.
+  gl_FILE_NAME_CONCAT
   # No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
   gl_FUNC_FNMATCH_POSIX
   gl_FUNC_FPENDING
@@ -59,7 +60,6 @@
   gl_FUNC_NANOSLEEP
   gl_FUNC_OPENAT
   gl_PAGEALIGN_ALLOC
-  gl_PATH_CONCAT
   gl_PATHMAX
   gl_QUOTEARG
   gl_FUNC_READLINK
@@ -70,7 +70,6 @@
   gl_FUNC_RPMATCH
   gl_SAVE_CWD
   gt_FUNC_SETENV
-  gl_FUNC_STAT
   gl_STAT_MACROS
   AM_STDBOOL_H
   gl_STDINT_H

File [changed]: lstat.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/lstat.m4?r1=1.7&r2=1.8
Delta lines:  +2 -19
--------------------
--- lstat.m4	24 May 2005 21:03:13 -0000	1.7
+++ lstat.m4	10 Jun 2005 20:31:04 -0000	1.8
@@ -16,26 +16,9 @@
 dnl compile the wrapper function.
 dnl
 
-AC_DEFUN([gl_LSTAT_SUBSTITUTE],
-[
-  gl_PREREQ_LSTAT
-  AC_DEFINE(lstat, rpl_lstat,
-    [Define to a substitute for the `lstat' function.])
-])
-
 AC_DEFUN([gl_FUNC_LSTAT],
 [
-  AC_REQUIRE([AC_FUNC_LSTAT])dnl
-  dnl Note: AC_FUNC_LSTAT does AC_LIBOBJ(lstat).
-  if test $ac_cv_func_lstat_empty_string_bug = yes \
-     || test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
-    gl_LSTAT_SUBSTITUTE
-  fi
-  :
-])
-
-AC_DEFUN([gl_PREREQ_LSTAT],
-[
-  AC_REQUIRE([AC_FUNC_LSTAT])dnl
+  AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
+  dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ(lstat).
   :
 ])

File [removed]: path-concat.m4

File [changed]: rename.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/rename.m4?r1=1.1&r2=1.2
Delta lines:  +5 -5
-------------------
--- rename.m4	1 Mar 2005 18:15:07 -0000	1.1
+++ rename.m4	10 Jun 2005 20:31:04 -0000	1.2
@@ -1,12 +1,12 @@
-#serial 7
+#serial 8
 
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005 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.
 
 dnl From Volker Borchert.
-dnl Determine whether rename works for source paths with a trailing slash.
+dnl Determine whether rename works for source file names with a trailing slash.
 dnl The rename from SunOS 4.1.1_U1 doesn't.
 dnl
 dnl If it doesn't, then define RENAME_TRAILING_SLASH_BUG and arrange
@@ -41,8 +41,8 @@
     AC_DEFINE(rename, rpl_rename,
       [Define to rpl_rename if the replacement function should be used.])
     AC_DEFINE(RENAME_TRAILING_SLASH_BUG, 1,
-      [Define if rename does not work for source paths with a trailing slash,
-       like the one from SunOS 4.1.1_U1.])
+      [Define if rename does not work for source file names with a trailing
+       slash, like the one from SunOS 4.1.1_U1.])
     gl_PREREQ_RENAME
   fi
 ])

File [removed]: stat.m4