[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 ./ChangeLog ./configure.ac gnulib/m4/Makefil...
From: |
Gary V. Vaughan |
Subject: |
m4 ./ChangeLog ./configure.ac gnulib/m4/Makefil... |
Date: |
Thu, 11 Sep 2003 19:53:42 -0400 |
CVSROOT: /cvsroot/m4
Module name: m4
Branch:
Changes by: Gary V. Vaughan <address@hidden> 03/09/11 19:53:42
Modified files:
. : ChangeLog configure.ac
gnulib/m4 : Makefile.am
m4 : m4module.h macro.c module.c system_.h
Added files:
gnulib/config : strndup.m4 strnlen.m4 xstrndup.m4
gnulib/m4 : strndup.c strndup.h strnlen.c xstrndup.c
xstrndup.h
Removed files:
gnulib/m4 : xstrzdup.c
Log message:
Replace the xstrzdup code by importing the xstrndup module from
CVS gnulib, along with its dependencies: strndup and strnlen:
* gnulib/m4/xstrndup.c, gnulib/m4/xstrndup.h,
gnulib/config/xstrndup.m4: Import xstrndup module from CVS
gnulib.
* gnulib/m4/strndup.c, gnulib/m4/strndup.h,
gnulib/config/strndup.m4: Ditto wrt strndup.
* gnulib/m4/strnlen.c, gnulib/config/strnlen.m4: Ditto wrt
strnlen.
* gnulib/m4/Makefile.am: Add rules from newly imported modules.
However, contrary to gnulib, we install xstrndup.h.
* configure.ac (AC_REPLACE_FUNCS): Remove xstrzdup.
* gnulib/lib/xstrzdup.c: Delete. This was never a gnulib file, it
is an artifact of the old m4 portability layer.
* configure.ac (gl_XSTRNDUP): This is the gnulib equivalent.
* m4/system_.h: Include xstrndup.h.
* m4/macro.c (process_macro): Call xstrndup, not xstrzdup.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/ChangeLog.diff?tr1=1.226&tr2=1.227&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/configure.ac.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/config/strndup.m4?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/config/strnlen.m4?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/config/xstrndup.m4?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/strndup.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/strndup.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/strnlen.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/xstrndup.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/xstrndup.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/gnulib/m4/Makefile.am.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/m4module.h.diff?tr1=1.69&tr2=1.70&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/macro.c.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/module.c.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/m4/m4/m4/system_.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text