Update from gettext.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Jan 2005 13:06:34 +0000 (13:06 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 17 Jan 2005 13:06:34 +0000 (13:06 +0000)
lib/ChangeLog
lib/progreloc.c

index 3fe9f20874461695ab9fcba462b2b4f394b9fc08..37d21ba26fd927d8ff162fd0c30b19b496df3625 100644 (file)
@@ -1,3 +1,11 @@
+2004-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * progreloc.c (xstrdup): Define as strdup if no xmalloc should be used.
+
+2003-10-09  Bruno Haible  <bruno@clisp.org>
+
+       * progreloc.c: Include xalloc.h instead of xmalloc.h.
+
 2005-01-06  Bruno Haible  <bruno@clisp.org>
 
        * fwriteerror.h (fwriteerror): Change specification to include fclose.
index aedfa57790981e5a3a04449aad1516d7741b642b..fc2e0722499b56edb01a765d3fdb5290412d7fea 100644 (file)
@@ -50,8 +50,9 @@
 
 #ifdef NO_XMALLOC
 # define xmalloc malloc
+# define xstrdup strdup
 #else
-# include "xmalloc.h"
+# include "xalloc.h"
 #endif
 
 /* Pathname support.