From: John Hodge Date: Sat, 21 Dec 2013 09:35:58 +0000 (+0800) Subject: Usermode/libc - Shut up stdio X-Git-Tag: rel0.15~51 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3c87ce36d0614cd447954ba77482ff29d5c2e0b5;p=tpg%2Facess2.git Usermode/libc - Shut up stdio --- diff --git a/Usermode/Libraries/libc.so_src/stdio.c b/Usermode/Libraries/libc.so_src/stdio.c index f252ec47..5b814447 100644 --- a/Usermode/Libraries/libc.so_src/stdio.c +++ b/Usermode/Libraries/libc.so_src/stdio.c @@ -627,15 +627,15 @@ size_t _fread_buffered(void *ptr, size_t size, FILE *fp) fp->BufferPos = rv; fp->BufferOfs = fp->Pos; - _SysDebug("%p: Buffered %i at %i", fp, rv, fp->Pos); + //_SysDebug("%p: Buffered %i at %i", fp, rv, fp->Pos); } size_t inner_ofs = fp->Pos - fp->BufferOfs; if(size > fp->BufferPos - inner_ofs) size = fp->BufferPos - inner_ofs; - _SysDebug("%p: Read %i from %i+%i", fp, size, - (int)fp->BufferOfs, inner_ofs); + //_SysDebug("%p: Read %i from %i+%i", fp, size, + // (int)fp->BufferOfs, inner_ofs); memcpy(ptr, fp->Buffer + inner_ofs, size); fp->Pos += size; return size;