aboutsummaryrefslogtreecommitdiff
path: root/libio/bug-wfflush.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-11 07:55:51 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-11 07:55:51 +0000
commit7876272372451b1cb0a7da9cfbbf9027550bccce (patch)
tree40e56b96b0fe399fd0c7165e47d40241ae1a2ab8 /libio/bug-wfflush.c
parent3370f2bd3d3b317f57b3fabf1bd8fdfafec75fa9 (diff)
downloadglibc-7876272372451b1cb0a7da9cfbbf9027550bccce.zip
glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.tar.gz
glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.tar.bz2
* libio/genops.c (_IO_unbuffer_write): Don't always free the
buffer. This is not necessary except in debug mode. If we don't free the buffer but the FILE structure to a list. (buffer_free): New function. Free buffers or tell _IO_unbuffer_write to do so. * libio/libio.h (struct _IO_FILE): Add new members to keep track of which buffers have to be freed.
Diffstat (limited to 'libio/bug-wfflush.c')
0 files changed, 0 insertions, 0 deletions