|
| From: | Andreas Färber |
| Subject: | Re: [Qemu-devel] [PATCH] Optimize screendump |
| Date: | Sun, 19 Jun 2011 17:53:24 +0200 |
Am 19.06.2011 um 17:46 schrieb Avi Kivity:
On 06/19/2011 06:22 PM, Stefan Hajnoczi wrote:I wonder if this will break non-Linux platforms. Perhaps buffer an entire row of pixels instead and only fwrite(3) at the end of the outer loop.That's how I wrote this in the first place. Since the consensus is against these functions, I'll submit that version instead.
Maybe add a qemu_fputc_unlocked() and do a configure check for it? Andreas
| [Prev in Thread] | Current Thread | [Next in Thread] |