On 09/22/2014 01:40 PM, Mateusz Jończyk wrote:
W dniu 22.09.2014 o 22:12, Aaron Plattner pisze:
On 09/22/2014 12:56 PM, Jasper St. Pierre wrote:
How old? O_CLOEXEC is part of the 2008 POSIX specification. I really
wouldn't like to build on anything older than that... :(
You could just do:
#define O_CLOEXEC 0
Sorry, I should have clarified that nvidia-installer does fork & exec
other processes, it just doesn't do it from threads or signal handlers
that could be subject to the FD_CLOEXEC race.
--
Aaron
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel