summaryrefslogtreecommitdiffstats
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorChris Dearman <chris.dearman@imgtec.com>2013-09-25 02:19:40 -0700
committerChris Dearman <chris.dearman@imgtec.com>2013-09-25 02:43:45 -0700
commit85373f42803f86e3295afd5031a0e42e0b3bef33 (patch)
treee0746201773856c1589c8c9b243a9e493e0ab19e /libutils/FileMap.cpp
parentf2c4c4ada725b86e6581a89cc06e2836d4bdc6e3 (diff)
downloadsystem_core-85373f42803f86e3295afd5031a0e42e0b3bef33.zip
system_core-85373f42803f86e3295afd5031a0e42e0b3bef33.tar.gz
system_core-85373f42803f86e3295afd5031a0e42e0b3bef33.tar.bz2
Handle screendumps for all framebuffer sizes
readx() treats a partial read as an error but also consumes the data, Now exactly the amount of data needed for the screendump is requested. This bug showed up for framebuffers that were not a multiple of 640 bytes. Also fix a compiler warning related to handing pipe() failure. Change-Id: I8b1713923e156d4e3424784152e5dc5cbc7d478d
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions