Re: [PATCH 4/4] queue-test: Add another assertion

2014-11-01 Thread Philip Withnall
On Mon, 2014-09-22 at 11:56 +0300, Pekka Paalanen wrote: > On Thu, 11 Sep 2014 21:43:49 +0200 > Karsten Otto wrote: > > > From: Philip Withnall > > Date: Fri, 15 Feb 2013 12:57:23 + > > > > Ensure that the round trip succeeds. > > > > [kao: adjusted patch to current test framework style] >

[PATCH 2/4] event-loop.c: Use correct OS abstraction function for dupfd()

2014-11-01 Thread Philip Withnall
Signed-off-by: Philip Withnall Signed-off-by: Karsten Otto --- src/event-loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event-loop.c b/src/event-loop.c index a149db9..1f571ba 100644 --- a/src/event-loop.c +++ b/src/event-loop.c @@ -134,7 +134,7 @@ wl_event_loop_ad

[PATCH 3/4] wayland-server: Abort if a read from a client gives 0 length

2014-11-01 Thread Philip Withnall
This happens on EOF if using a poll function such as select() or kqueue() which doesn’t distinguish EOF events. Currently execution should never reach the point where recvmsg() returns EOF (len == 0). Instead, epoll() will detect this and indicate EPOLLHUP, which is handled a few lines above, clos

[PATCH 1/4] connection: Fix sendmsg() on FreeBSD

2014-11-01 Thread Philip Withnall
It expects ((msg_controllen == 0) == (msg_control == NULL)), and returns EINVAL otherwise. It can't hurt to be tidy about things on other platforms either though. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=99356#c5 Signed-off-by: Philip Withnall Signed-off-by: Karsten Otto --- src

[PATCH 4/4] queue-test: Add another assertion

2014-11-01 Thread Philip Withnall
Ensure that the round trip succeeds. Signed-off-by: Philip Withnall Signed-off-by: Karsten Otto --- tests/queue-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queue-test.c b/tests/queue-test.c index 96f2100..6e2e932 100644 --- a/tests/queue-test.c +++ b/tests/q

Re: libinput: Support for long press key detection?

2014-11-01 Thread Stefanie Behme
Am 26.10.2014 um 13:35 schrieb Carsten Haitzler (The Rasterman): On Sun, 26 Oct 2014 13:10:43 +0100 Stefanie Behme said: Am 21.10.2014 um 21:03 schrieb Carsten Haitzler (The Rasterman): On Tue, 21 Oct 2014 20:21:26 +0200 Stefanie Behme said: Hi, on last ELCE in Duesseldorf I learned that