mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-30 04:33:01 +00:00
- floating point conversion specifiers were disabled, leading to stack
errors if they were used. They have been reenabled.
This commit is contained in:
parent
676fccce0c
commit
2d3f7dce1a
@ -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 */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user