Committed: fix breakage from recent stdio.h change
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Thu Oct 24 01:22:00 GMT 2013
Committed as obvious after build completed. Spotted by my
autotesters when attempting to move to some newlib checkout
after 2013-10-23 07:54:32 UTC. There are also gcc testsuite
regressions noticed when moving to some newlib after 2013-10-15
00:16:35 UTC; looking into that too. I'm guessing a bug
introduced in newlib, if it's like the last two times. Again I
wish changes were tested better; on something besides cygwin.
newlib:
* libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
in last change.
Index: newlib/libc/include/stdio.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/stdio.h,v
retrieving revision 1.65
diff -p -u -r1.65 stdio.h
--- newlib/libc/include/stdio.h 23 Oct 2013 10:04:42 -0000 1.65
+++ newlib/libc/include/stdio.h 24 Oct 2013 00:05:14 -0000
@@ -533,7 +533,7 @@ FILE *_EXFUN(_funopen_r,(struct _reent *
FILE *_EXFUN(funopen,(const _PTR __cookie,
int (*__readfn)(_PTR __cookie, char *__buf,
_READ_WRITE_BUFSIZE_TYPE __n),
- int (*__writefn)(_PTR __cookie, const char *__buf
+ int (*__writefn)(_PTR __cookie, const char *__buf,
_READ_WRITE_BUFSIZE_TYPE __n),
fpos_t (*__seekfn)(_PTR __cookie, fpos_t __off, int __whence),
int (*__closefn)(_PTR __cookie)));
brgds, H-P
More information about the Newlib
mailing list