From 6c23cd7e29975cfc9b7762aa7cfc2e6650bb7c1e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 16 Jul 2008 21:41:27 +0000 Subject: [PATCH] * Another fucked commit... synchronise config.h and lib-stream.c. --- src/lib-stream.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib-stream.c b/src/lib-stream.c index 87a3fc3..8d7dcab 100644 --- a/src/lib-stream.c +++ b/src/lib-stream.c @@ -144,7 +144,7 @@ int (*ORIG(__filbuf)) (FILE *fp); /* Our function wrappers */ #if defined HAVE_REFILL_STDIO /* Fuzz fp if we have __srefill() */ # define FOPEN_FUZZ() \ - _zz_fuzz(fd, ret->FP_PTR, ret->FP_CNT) + _zz_fuzz(fd, ret->FILE_PTR, ret->FILE_CNT) #else # define FOPEN_FUZZ() #endif @@ -794,10 +794,10 @@ int NEW(__filbuf)(FILE *fp) if(ret != EOF) { if(newpos != -1) - _zz_setpos(fd, newpos - fp->FP_CNT - 1); - _zz_fuzz(fd, fp->FP_PTR - 1, fp->FP_CNT + 1); - ret = (uint8_t)fp->FP_PTR[-1]; - _zz_addpos(fd, fp->FP_CNT + 1); + _zz_setpos(fd, newpos - fp->FILE_CNT - 1); + _zz_fuzz(fd, fp->FILE_PTR - 1, fp->FILE_CNT + 1); + ret = (uint8_t)fp->FILE_PTR[-1]; + _zz_addpos(fd, fp->FILE_CNT + 1); } if(!_zz_islocked(fd))