commit | d42b0c94c3b9581dfef67bbbd027cf30799fab20 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 08 10:19:40 2011 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 08 10:19:52 2011 -0500 |
tree | a9fd1017fbb49874b5bbea36861fca66e53a4ba1 | |
parent | 9b32ed34de162c26ef9b52cc8cbf1a06ed05d2de [diff] |
compositor: Use dup instead of fcntl to get a non-CLOEXEC fd One less syscall and error path to check, and feels like a cleaner approach. The commit adds two lines, but that's because we actually handle the potential error now.