]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Define EOVERFLOW if needed.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2005 18:39:27 +0000 (18:39 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:13 +0000 (12:12 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/vasnprintf.c
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/vasnprintf.c

index 4af6e7648d2b2b026681c20292615f3a733b39e9..185542f4180044cc763c8a1ea6af467f1a9c4ae5 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-12  Bruno Haible  <bruno@clisp.org>
+
+       * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
+
 2005-02-11  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:1:4.
index 8f2cc8484f545c507d89deddcd57e97e9f04aa61..7c5e360013c82977f5f90482caaa268450a4f370 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 1999, 2002-2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002-2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 /* Checked size_t computations.  */
 #include "xsize.h"
 
+/* Some systems, like Woe32, don't have EOVERFLOW.  */
+#ifndef EOVERFLOW
+# define EOVERFLOW E2BIG
+#endif
+
 #ifdef HAVE_WCHAR_T
 # ifdef HAVE_WCSLEN
 #  define local_wcslen wcslen
index 3a42ec101252db697c7ef1c8b13b60f42a611d9d..c0a0234f9169b8c28ef47677be8a47e19f4499dc 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-12  Bruno Haible  <bruno@clisp.org>
+
+       * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
+
 2004-12-19  Paul Eggert  <eggert@cs.ucla.edu>
 
        * alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
index 8f2cc8484f545c507d89deddcd57e97e9f04aa61..7c5e360013c82977f5f90482caaa268450a4f370 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 1999, 2002-2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002-2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 /* Checked size_t computations.  */
 #include "xsize.h"
 
+/* Some systems, like Woe32, don't have EOVERFLOW.  */
+#ifndef EOVERFLOW
+# define EOVERFLOW E2BIG
+#endif
+
 #ifdef HAVE_WCHAR_T
 # ifdef HAVE_WCSLEN
 #  define local_wcslen wcslen