diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-01-11 07:55:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-01-11 07:55:51 +0000 |
commit | 7876272372451b1cb0a7da9cfbbf9027550bccce (patch) | |
tree | 40e56b96b0fe399fd0c7165e47d40241ae1a2ab8 /ChangeLog | |
parent | 3370f2bd3d3b317f57b3fabf1bd8fdfafec75fa9 (diff) | |
download | glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.tar glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.tar.gz glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.tar.bz2 glibc-7876272372451b1cb0a7da9cfbbf9027550bccce.zip |
* 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 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,13 @@ 2006-01-10 Ulrich Drepper <drepper@redhat.com> + * 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. + * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache is NULL. |