1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/commands
Petr Rockai eee66d2a80 When glibc needs buffers for line buffering of input and output buffers, it
allocates these buffers in such way it adds memory page for each such buffer
and size of unlock memory check will mismatch by 1 or 2 pages.

This happens when we print or read lines without '\n' so these buffers are
used. To avoid this extra allocation, use setvbuf to set these bufffers ahead.

Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
Reviewed-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
2011-05-07 13:50:11 +00:00
..
errors.h pre-release tidy up 2009-06-30 18:39:31 +00:00
toolcontext.c When glibc needs buffers for line buffering of input and output buffers, it 2011-05-07 13:50:11 +00:00
toolcontext.h When glibc needs buffers for line buffering of input and output buffers, it 2011-05-07 13:50:11 +00:00