diff lib/sprintf.c @ 9831:787bf3487678

Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C code.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Mar 2008 15:18:13 +0200
parents bbbbbf4cd1c5
children b5e42ef33b49
line wrap: on
line diff
--- a/lib/sprintf.c
+++ b/lib/sprintf.c
@@ -1,5 +1,5 @@
 /* Formatted output to strings.
-   Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006-2008 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
@@ -29,11 +29,6 @@
 
 #include "vasnprintf.h"
 
-/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW.  */
-#ifndef EOVERFLOW
-# define EOVERFLOW E2BIG
-#endif
-
 #ifndef SIZE_MAX
 # define SIZE_MAX ((size_t) -1)
 #endif