From e5dbee83584d5a366944d477da178688d9737928 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 24 Aug 2001 18:35:16 +0000 Subject: fix this dietlibc... hope the uncompressing of ramdisk will rulz now --- mdk-stage1/dietlibc/libstdio/fdglue.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdk-stage1/dietlibc') diff --git a/mdk-stage1/dietlibc/libstdio/fdglue.c b/mdk-stage1/dietlibc/libstdio/fdglue.c index eeedd513d..1c3918f1f 100644 --- a/mdk-stage1/dietlibc/libstdio/fdglue.c +++ b/mdk-stage1/dietlibc/libstdio/fdglue.c @@ -35,6 +35,9 @@ FILE* __stdio_init_file(int fd) { #ifdef WANT_BUFFERED_STDIO tmp->bm=0; tmp->bs=0; +#endif +#ifdef WANT_UNGETC + tmp->ungotten = 0; #endif tmp->flags=0; #ifdef WANT_BUFFERED_STDIO -- cgit v1.2.1