commit | 85373f42803f86e3295afd5031a0e42e0b3bef33 | [log] [tgz] |
---|---|---|
author | Chris Dearman <chris.dearman@imgtec.com> | Wed Sep 25 02:19:40 2013 -0700 |
committer | Chris Dearman <chris.dearman@imgtec.com> | Wed Sep 25 02:43:45 2013 -0700 |
tree | e0746201773856c1589c8c9b243a9e493e0ab19e | |
parent | f2c4c4ada725b86e6581a89cc06e2836d4bdc6e3 [diff] |
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