xserver: Just dup fd instead of two fcntls to get a non-O_CLOEXEC fd
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 15 Jan 2012 21:05:28 +0000 (16:05 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 15 Jan 2012 21:05:43 +0000 (16:05 -0500)
commitde13448c9260d58795ca7cd10e6045212940c9b2
treec71e472daa9a68c3d2a9e034912409537cc24b42
parent1760ebb2365df861d5513097024f2727c09f4f15
xserver: Just dup fd instead of two fcntls to get a non-O_CLOEXEC fd

Yeah, it's the same number of lines of code, but this actually checks
the error return.
src/xserver-launcher.c