summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-08-24 18:35:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-08-24 18:35:16 +0000
commite5dbee83584d5a366944d477da178688d9737928 (patch)
tree0c520a7e6291f69a747be1bfc6ffbd58179b012b /mdk-stage1
parent7cfc47c8d3128a4b63077085e0c64420a66b5dea (diff)
downloaddrakx-backup-do-not-use-e5dbee83584d5a366944d477da178688d9737928.tar
drakx-backup-do-not-use-e5dbee83584d5a366944d477da178688d9737928.tar.gz
drakx-backup-do-not-use-e5dbee83584d5a366944d477da178688d9737928.tar.bz2
drakx-backup-do-not-use-e5dbee83584d5a366944d477da178688d9737928.tar.xz
drakx-backup-do-not-use-e5dbee83584d5a366944d477da178688d9737928.zip
fix this dietlibc... hope the uncompressing of ramdisk will rulz now
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/dietlibc/libstdio/fdglue.c3
1 files changed, 3 insertions, 0 deletions
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
@@ -36,6 +36,9 @@ FILE* __stdio_init_file(int fd) {
tmp->bm=0;
tmp->bs=0;
#endif
+#ifdef WANT_UNGETC
+ tmp->ungotten = 0;
+#endif
tmp->flags=0;
#ifdef WANT_BUFFERED_STDIO
if (__stdio_atexit==0) {