Allow xcb_send_request with >MAX_IOV iovecs
authorPeter Harris <pharris@opentext.com>
Thu, 16 Aug 2012 15:59:14 +0000 (11:59 -0400)
committerPeter Harris <pharris@opentext.com>
Tue, 18 Sep 2012 15:42:23 +0000 (11:42 -0400)
commit08cc068ead7b8e678cdb119b38ada5261d5cc3ea
tree10884817653262c3c3af3273e0f8b4f3b749bebe
parentff53285ae3f604e9f2cc5f4837255220459b5e44
Allow xcb_send_request with >MAX_IOV iovecs

This allows an application to do a scatter/gather operation on a large
image buffer to avoid the extra memcpy.

Use autoconf to use UIO_MAXIOV where IOV_MAX is not available (and the
POSIX minimum of 16 where neither are available).

Reviewed-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Peter Harris <pharris@opentext.com>
configure.ac
src/xcb_conn.c