summaryrefslogtreecommitdiff
path: root/lib/vfprintf.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-03-30 15:18:13 +0200
committerBruno Haible <bruno@clisp.org>2008-03-30 15:18:13 +0200
commitdac3bbf96357f7866a1094c228b4e5bea3fcf853 (patch)
treebb9ed146d377aa4f958cf106b3a3607ab0b86811 /lib/vfprintf.c
parentd80538def81e2ceeab7f8e954908e74eeae43349 (diff)
downloadgnulib-dac3bbf96357f7866a1094c228b4e5bea3fcf853.tar.gz
Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
code.
Diffstat (limited to 'lib/vfprintf.c')
-rw-r--r--lib/vfprintf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/vfprintf.c b/lib/vfprintf.c
index 82117e3066..b240b0d986 100644
--- a/lib/vfprintf.c
+++ b/lib/vfprintf.c
@@ -1,5 +1,5 @@
/* Formatted output to a stream.
- 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 "fseterr.h"
#include "vasnprintf.h"
-/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */
-#ifndef EOVERFLOW
-# define EOVERFLOW E2BIG
-#endif
-
/* Print formatted output to the stream FP.
Return string length of formatted string. On error, return a negative
value. */