This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fix for compilation problem in stdio-common/vfprintf.c


I need the following patch to compile stdio-common/vfprintf.c when
stdio is used instead of libio (i.e on the Hurd).

Mark


2000-07-30  Mark Kettenis  <kettenis@gnu.org>

	* stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
	outside USE_IN_LIBIO block.


Index: stdio-common/vfprintf.c
===================================================================
RCS file: /cvs/glibc/libc/stdio-common/vfprintf.c,v
retrieving revision 1.89
diff -u -p -r1.89 vfprintf.c
--- stdio-common/vfprintf.c	2000/07/29 06:44:36	1.89
+++ stdio-common/vfprintf.c	2000/07/29 23:40:22
@@ -102,8 +102,6 @@
 #  undef EOF
 #  define EOF WEOF
 # endif
-
-# include "_i18n_number.h"
 #else /* ! USE_IN_LIBIO */
 /* This code is for use in the GNU C library.  */
 # include <stdio.h>
@@ -154,6 +152,8 @@ ssize_t __printf_pad __P ((FILE *, char 
 extern void __flockfile (FILE *);
 extern void __funlockfile (FILE *);
 #endif /* USE_IN_LIBIO */
+
+#include "_i18n_number.h"
 
 /* Include the shared code for parsing the format string.  */
 #include "printf-parse.h"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]