From 1887bd2829b74785cd050f223a20674e08719fce Mon Sep 17 00:00:00 2001 From: Konrad Lipinski Date: Wed, 31 Aug 2016 17:06:31 +0200 Subject: [PATCH] change KDBUS_INFINITE_TIMEOUT_NS to 0x3ff.. to avoid wraparound - will work for 144 years of uptime Change-Id: I597460ffb82d5551f221de0554c0f81746f5dee9 --- gio/gkdbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gkdbus.c b/gio/gkdbus.c index 9151107..95aea22 100755 --- a/gio/gkdbus.c +++ b/gio/gkdbus.c @@ -64,7 +64,7 @@ #include "gunixfdmessage.h" #define KDBUS_MSG_MAX_SIZE 8192 -#define KDBUS_INFINITE_TIMEOUT_NS 0x7fffffffffffffffLLU +#define KDBUS_INFINITE_TIMEOUT_NS 0x3fffffffffffffffLLU #define KDBUS_POOL_SIZE (16 * 1024LU * 1024LU) #define KDBUS_MEMFD_THRESHOLD (512 * 1024LU) #define KDBUS_ALIGN8(l) (((l) + 7) & ~7) -- 2.7.4