From: Bruno Haible Date: Sat, 24 Jan 2004 09:38:21 +0000 (+0000) Subject: Define MALLOC_0_IS_NONNULL in config.h_vms and config.h.msvc. X-Git-Tag: v0.14~18 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=dd011c84ba902d143f614c2287648b51ac8d86b5;p=thirdparty%2Fgettext.git Define MALLOC_0_IS_NONNULL in config.h_vms and config.h.msvc. --- diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index a801e04e2..0a220a8e4 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,8 @@ +2004-01-24 Bruno Haible + + * Makefile.am (config.h_vms): Set MALLOC_0_IS_NONNULL to 0. + (config.h.msvc): Set MALLOC_0_IS_NONNULL to 1. + 2004-01-17 Bruno Haible * windows/intl.rc: Bump version number to 0.14. diff --git a/gettext-runtime/Makefile.am b/gettext-runtime/Makefile.am index 1a281b915..473dd1ffb 100644 --- a/gettext-runtime/Makefile.am +++ b/gettext-runtime/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the gettext-runtime directory of GNU gettext -## Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. +## Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -98,6 +98,7 @@ config.h_vms: config.h.in ../version.sh -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \ + -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 0/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ -e 's/#undef realpath$$/#define realpath rpl_realpath/' \ -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \ @@ -154,6 +155,7 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \ + -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 1/' \ -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \ -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index fd4a7b820..620433928 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,8 @@ +2004-01-24 Bruno Haible + + * Makefile.am (config.h_vms): Set MALLOC_0_IS_NONNULL to 0. + (config.h.msvc): Set MALLOC_0_IS_NONNULL to 1. + 2004-01-12 Bruno Haible * windows/gettextlib.def: Add compile_csharp_class, diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am index 16b344904..c2ffd1b97 100644 --- a/gettext-tools/Makefile.am +++ b/gettext-tools/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the gettext-tools directory of GNU gettext -## Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. +## Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -130,6 +130,7 @@ config.h_vms: config.h.in ../version.sh -e 's/#undef HAVE_WORKING_VFORK$$/#define HAVE_WORKING_VFORK 1/' \ -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST/' \ + -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 0/' \ -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \ -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \ -e 's/#undef eaccess$$/#define eaccess access/' \ @@ -197,6 +198,7 @@ config.h.msvc: config.h.in ../version.sh -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \ -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \ -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \ + -e 's/#undef MALLOC_0_IS_NONNULL$$/#define MALLOC_0_IS_NONNULL 1/' \ -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \ -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \ -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \