mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-28 22:18:29 +00:00
Remove getc() optimization
This has been reported as causing issues in #61 although it isn't clear why that's happening. Having a function boundary is bullet proof.
This commit is contained in:
parent
3e19b96ab8
commit
d53a344e18
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ int vfscanf(FILE *, const char *, va_list);
|
|||
│ cosmopolitan § standard i/o » optimizations ─╬─│┼
|
||||
╚────────────────────────────────────────────────────────────────────────────│*/
|
||||
|
||||
#define getc(f) (f->beg < f->end ? f->buf[f->beg++] : fgetc(f))
|
||||
#define getc(f) fgetc(f)
|
||||
#define putc(c, f) fputc(c, f)
|
||||
|
||||
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
||||
|
|
Loading…
Add table
Reference in a new issue