This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix BZ #16734 (fopen calls mmap to allocate buffers)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]