[PATCH] [xorg/xserver] os/client: Prevent rare fd leak in DetermineClientPid

Keith Packard keithp at keithp.com
Thu Mar 24 10:31:38 PDT 2011


On Thu, 24 Mar 2011 15:18:17 +0100 (CET), Mark Kettenis <mark.kettenis at xs4all.nl> wrote:

> Actually, checking the return value of close(2) is fairly silly, at
> least in this context.  So you could write this as:

Yeah, what error are they looking for here?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110324/d8e891ea/attachment.pgp>


More information about the xorg-devel mailing list