Mercurial > flash_v2
changeset 643:659eed39fb51
* include/stdio.inl (setbuf): Don't supply size with _IONBF.
* src/common/stdioinlines.cxx (setbuf): Ditto.
| author | jlarmour |
|---|---|
| date | Sat, 15 Feb 2003 16:57:03 +0000 |
| parents | 46a7d2c24f10 |
| children | c2866eff7fb9 |
| files | packages/language/c/libc/stdio/current/ChangeLog packages/language/c/libc/stdio/current/include/stdio.inl packages/language/c/libc/stdio/current/src/common/stdioinlines.cxx |
| diffstat | 3 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/ChangeLog +++ b/packages/language/c/libc/stdio/current/ChangeLog @@ -1,3 +1,8 @@ +2003-02-15 Fabrice Gautier <Fabrice_Gautier@sdesigns.com> + + * include/stdio.inl (setbuf): Don't supply size with _IONBF. + * src/common/stdioinlines.cxx (setbuf): Ditto. + 2003-01-29 Jonathan Larmour <jifl@eCosCentric.com> * src/output/vfnprintf.cxx: Add support for C99 'z' flag (size_t).
--- a/packages/language/c/libc/stdio/current/include/stdio.inl +++ b/packages/language/c/libc/stdio/current/include/stdio.inl @@ -77,7 +77,7 @@ extern __inline__ void setbuf( FILE *stream, char *buf ) { if (buf == NULL) - setvbuf( stream, NULL, _IONBF, BUFSIZ ); + setvbuf( stream, NULL, _IONBF, 0 ); else // NB: Should use full buffering by default ordinarily, but in // the current system we're always connected to an interactive
--- a/packages/language/c/libc/stdio/current/src/common/stdioinlines.cxx +++ b/packages/language/c/libc/stdio/current/src/common/stdioinlines.cxx @@ -82,7 +82,7 @@ externC void setbuf( FILE *stream, char *buf ) { if (buf == NULL) - setvbuf( stream, NULL, _IONBF, BUFSIZ ); + setvbuf( stream, NULL, _IONBF, 0 ); else // NB: Should use full buffering by default ordinarily, but in // the current system we're always connected to an interactive
