From 2d3f7dce1a435426266a8c30eb376180fc3083d7 Mon Sep 17 00:00:00 2001 From: gdr-ftp Date: Sun, 25 Jan 1998 21:03:48 +0000 Subject: [PATCH] - floating point conversion specifiers were disabled, leading to stack errors if they were used. They have been reenabled. --- lib/libc/stdio/vfscanf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c index ecf5331..98be288 100644 --- a/lib/libc/stdio/vfscanf.c +++ b/lib/libc/stdio/vfscanf.c @@ -52,7 +52,7 @@ static char sccsid[] = "@(#)vfscanf.c 8.1 (Berkeley) 6/4/93"; #endif #include "local.h" -#undef FLOATING_POINT +#define FLOATING_POINT #include "floatio.h" #define BUF 513 /* Maximum length of numeric string. */ @@ -712,6 +712,8 @@ literal: } nread += p - buf; break; +#else +#error "we should be using FLOATING_POINT" #endif /* FLOATING_POINT */ } }