From: Bruno Haible Date: Mon, 17 Jan 2005 13:06:34 +0000 (+0000) Subject: Update from gettext. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8456d9b5f7e4558fd942fdeeba60f9994334f44b;p=pspp Update from gettext. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 3fe9f20874..37d21ba26f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,11 @@ +2004-01-24 Bruno Haible + + * progreloc.c (xstrdup): Define as strdup if no xmalloc should be used. + +2003-10-09 Bruno Haible + + * progreloc.c: Include xalloc.h instead of xmalloc.h. + 2005-01-06 Bruno Haible * fwriteerror.h (fwriteerror): Change specification to include fclose. diff --git a/lib/progreloc.c b/lib/progreloc.c index aedfa57790..fc2e072249 100644 --- a/lib/progreloc.c +++ b/lib/progreloc.c @@ -50,8 +50,9 @@ #ifdef NO_XMALLOC # define xmalloc malloc +# define xstrdup strdup #else -# include "xmalloc.h" +# include "xalloc.h" #endif /* Pathname support.