1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00
1999-12-01  Ulrich Drepper  <drepper@cygnus.com>

	* libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
	function call directly.
	* libio/iosetvbuf.c: Likewise.
This commit is contained in:
Ulrich Drepper
1999-12-01 21:05:53 +00:00
parent 75d86c1f4c
commit f0d8cfd73c
5 changed files with 112 additions and 97 deletions

View File

@@ -40,7 +40,7 @@ _IO_setbuffer (fp, buf, size)
(void) _IO_SETBUF (fp, buf, size);
if (fp->_vtable_offset == 0 && fp->_mode == 0)
/* We also have to set the buffer using the wide char function. */
(*fp->_wide_data->_wide_vtable->__setbuf) (fp, buf, size);
(void) _IO_WSETBUF (fp, buf, size);
_IO_funlockfile (fp);
_IO_cleanup_region_end (0);
}