1 |
|
2003-09-12 Gary V. Vaughan <gary@gnu.org> |
2 |
|
|
3 |
|
Replace the xstrzdup code by importing the xstrndup module from |
4 |
|
CVS gnulib, along with its dependencies: strndup and strnlen: |
5 |
|
|
6 |
|
* gnulib/m4/xstrndup.c, gnulib/m4/xstrndup.h, |
7 |
|
gnulib/config/xstrndup.m4: Import xstrndup module from CVS |
8 |
|
gnulib. |
9 |
|
* gnulib/m4/strndup.c, gnulib/m4/strndup.h, |
10 |
|
gnulib/config/strndup.m4: Ditto wrt strndup. |
11 |
|
* gnulib/m4/strnlen.c, gnulib/config/strnlen.m4: Ditto wrt |
12 |
|
strnlen. |
13 |
|
* gnulib/m4/Makefile.am: Add rules from newly imported modules. |
14 |
|
However, contrary to gnulib, we install xstrndup.h. |
15 |
|
* configure.ac (AC_REPLACE_FUNCS): Remove xstrzdup. |
16 |
|
* gnulib/lib/xstrzdup.c: Delete. This was never a gnulib file, it |
17 |
|
is an artifact of the old m4 portability layer. |
18 |
|
* configure.ac (gl_XSTRNDUP): This is the gnulib equivalent. |
19 |
|
* m4/system_.h: Include xstrndup.h. |
20 |
|
* m4/macro.c (process_macro): Call xstrndup, not xstrzdup. |
21 |
|
|
22 |
2003-09-11 Gary V. Vaughan <gary@gnu.org> |
2003-09-11 Gary V. Vaughan <gary@gnu.org> |
23 |
|
|
24 |
Reimport the latest xalloc module from CVS gnulib, and adjust the |
Reimport the latest xalloc module from CVS gnulib, and adjust the |