Update from gettext 0.14.2.
authorBruno Haible <bruno@clisp.org>
Tue, 1 Mar 2005 15:36:36 +0000 (15:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 1 Mar 2005 15:36:36 +0000 (15:36 +0000)
lib/ChangeLog
lib/vasnprintf.c

index 1432395..572319a 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-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        * gethrxtime.h, gethrxtime.c, xtime.h: New files.
index ff80857..5fc255a 100644 (file)
 /* Checked size_t computations.  */
 #include "xsize.h"
 
+/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW.  */
+#ifndef EOVERFLOW
+# define EOVERFLOW E2BIG
+#endif
+
 #ifdef HAVE_WCHAR_T
 # ifdef HAVE_WCSLEN
 #  define local_wcslen wcslen