changeset 5583:5c8e3fc4efe4

Update from gettext.
author Bruno Haible <bruno@clisp.org>
date Mon, 17 Jan 2005 13:06:34 +0000
parents f5538a5d1cc4
children f43f068c9228
files lib/ChangeLog lib/progreloc.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog	Mon Jan 17 12:58:13 2005 +0000
+++ b/lib/ChangeLog	Mon Jan 17 13:06:34 2005 +0000
@@ -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.
--- a/lib/progreloc.c	Mon Jan 17 12:58:13 2005 +0000
+++ b/lib/progreloc.c	Mon Jan 17 13:06:34 2005 +0000
@@ -50,8 +50,9 @@
 
 #ifdef NO_XMALLOC
 # define xmalloc malloc
+# define xstrdup strdup
 #else
-# include "xmalloc.h"
+# include "xalloc.h"
 #endif
 
 /* Pathname support.