On 11/ 7/13 11:53 PM, Mark Kettenis wrote:
From: Alan Coopersmith <alan.coopersm...@oracle.com>
Date: Thu, 7 Nov 2013 20:55:44 -0800
Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>
---
Makefile | 9 +++++----
shmfd.c | 4 ++++
2 files changed, 9 insertions(+), 4 deletions(-)
Ah, is this the example code I have been looking for the last couple
of days?
Probably - I asked Keith for test code for the MIT-SHM fd passing on IRC,
and he pointed to his git repo at ssh://people.freedesktop.org/~keithp/shmfd
and updated it for the current API's.
(Aka http://cgit.freedesktop.org/~keithp/shmfd/ for your web browsing pleasure.)
Anyway, wouldn't it be better to use /tmp instead of adding this
(admittedly small) #ifdef spaghetti?
Possibly - I didn't know why Keith chose /run/shm in the first place.
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel