From c8956c6fecf0d1390241eefc6a95f9c97fab1e7e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 15 Jun 2006 16:08:09 +0000 Subject: 2006-06-15 Corinna Vinschen * libc/include/stdio.h (__sgetc_r): Fix typo. * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r. * libc/stdio/rget.c (__srbuf): Reinstantiate. * libc/stdio/wbuf.c (__swbuf): Ditto. --- newlib/libc/stdio/fread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/stdio/fread.c') diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c index 8df577006..d87d9f966 100644 --- a/newlib/libc/stdio/fread.c +++ b/newlib/libc/stdio/fread.c @@ -196,7 +196,7 @@ _DEFUN(_fread_r, (ptr, buf, size, count, fp), if (fp->_flags & __SCLE) { _funlockfile (fp); - return crlf (fp, buf, total-resid, 1) / size; + return crlf_r (ptr, fp, buf, total-resid, 1) / size; } #endif _funlockfile (fp); @@ -221,7 +221,7 @@ _DEFUN(_fread_r, (ptr, buf, size, count, fp), if (fp->_flags & __SCLE) { _funlockfile (fp); - return crlf (fp, buf, total-resid, 1) / size; + return crlf_r (ptr, fp, buf, total-resid, 1) / size; } #endif _funlockfile (fp); @@ -238,7 +238,7 @@ _DEFUN(_fread_r, (ptr, buf, size, count, fp), if (fp->_flags & __SCLE) { _funlockfile (fp); - return crlf(fp, buf, total, 0) / size; + return crlf_r(ptr, fp, buf, total, 0) / size; } #endif _funlockfile (fp); -- cgit v1.2.3