This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix BZ #16734 (fopen calls mmap to allocate buffers)
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Paul Pluzhnikov <ppluzhnikov at gmail dot com>
- Cc: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Sun, 09 Aug 2015 08:25:56 +0200
- Subject: Re: Fix BZ #16734 (fopen calls mmap to allocate buffers)
- Authentication-results: sourceware.org; auth=none
- References: <CALoOobMbO48OTnvySweqqJObpEu5cNkPciuerHx5z3fXZoD_4Q at mail dot gmail dot com>
Paul Pluzhnikov <ppluzhnikov@gmail.com> writes:
> 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> [BZ #16734]
> * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
> (FREE_BUF): Delete.
> * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
> * libio/genops.c (_IO_setb): Use malloc and free directly.
> (_IO_default_doallocate, _IO_default_finish): Likewise.
> ( _IO_unbuffer_all): Likewise.
> ( libc_freeres_fn): Likewise.
> * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
> * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
> * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
> (_IO_wdefault_doallocate): Likewise.
Ok.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."