mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-04 22:30:42 +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
|
#endif
|
||||||
#include "local.h"
|
#include "local.h"
|
||||||
|
|
||||||
#undef FLOATING_POINT
|
#define FLOATING_POINT
|
||||||
|
|
||||||
#include "floatio.h"
|
#include "floatio.h"
|
||||||
#define BUF 513 /* Maximum length of numeric string. */
|
#define BUF 513 /* Maximum length of numeric string. */
|
||||||
@ -712,6 +712,8 @@ literal:
|
|||||||
}
|
}
|
||||||
nread += p - buf;
|
nread += p - buf;
|
||||||
break;
|
break;
|
||||||
|
#else
|
||||||
|
#error "we should be using FLOATING_POINT"
|
||||||
#endif /* FLOATING_POINT */
|
#endif /* FLOATING_POINT */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user