summary refs log tree commit diff
path: root/libio/wmemstream.c
Commit message (Collapse)AuthorAgeFilesLines
* * posix/glob.c (glob_in_dir): Add some comments and asserts toUlrich Drepper2006-09-301-0/+1
| | | | explain why there are no leaks.
* [BZ #1996]Ulrich Drepper2006-08-141-1/+1
| | | | | | | | | | | | | | | | | | | 2006-08-14 Ulrich Drepper <drepper@redhat.com> [BZ #1996] * libio/memstream.c (open_memstream): Allocate initial buffer with calloc. * libio/wmemstream.c (open_wmemstream): Likewise. * libio/strops.c: Pretty printing. (_IO_str_overflow): Clear uninitialized part of the new buffer. (enlarge_userbuf): New function. (_IO_str_seekoff): Call it if seek position is larger than current buffer. * libio/wstrops.c: Likewise. * libio/vasprintf.c: Add comment as to why we do not have to use calloc instead of malloc to allocate initial buffer. * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. * libio/bug-memstream1.c: New file. * libio/bug-wmemstream1.c: New file.
* * libio/wmemstream.c: New file.Ulrich Drepper2006-01-121-0/+149
| | | | | | | | | | | | | * libio/Makefile (routines): Add wmemstream. (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and tst-wmemstream2. * libio/tst-memstream1.c: New file. * libio/tst-memstream2.c: New file. * libio/tst-wmemstream1.c: New file. * libio/tst-wmemstream2.c: New file. * libio/memstream.c (_IO_mem_sync): Remove useless call to _IO_default_sync.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-150/+0
|
* 2.5-18.1Jakub Jelinek2007-07-121-0/+150