OSDN Git Service

libdrm: only check for vblank timeout if we caught EINTR
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 18:48:26 +0000 (10:48 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 18:48:26 +0000 (10:48 -0800)
commitca37077fb78b69a00500827f1db12b70affa1514
tree617e969a660389f1f7a4b502a9c948e88d28b215
parentf4f76a6894b40abd77f0ffbf52972127608b9bca
libdrm: only check for vblank timeout if we caught EINTR

Michel caught a case where we might overwrite a success or other return
value with EBUSY, so check the return value before checking for the
timeout condition.
libdrm/xf86drm.c