#679: Use of O_CLOEXEC is not BSD friendly ---------------------+------------------------------------------------------ Reporter: xtophe | Owner: lennart Type: defect | Status: new Milestone: | Component: core Resolution: | Keywords: ---------------------+------------------------------------------------------ Changes (by matthijs):
* cc: matthijs (added) Comment: This does not affect just BSD, also older Linux systems (< 2.6.23) break on this (I've come across this bug when compiling Pulse for OpenWRT). As for the patch, it looks like an elegant solution to solve the problem. If there is such a pa_make_fd_cloexec function, is there any reason it's not used in [http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/pulsecore/database- tdb.c;h=b79d2837dc40110cb82101700d4619dfdf6bae65;hb=HEAD#l79 src/pulsecore /database-tdb]? There, the O_CLOEXEC flag is just left out if it's not supported. -- Ticket URL: <http://pulseaudio.org/ticket/679#comment:5> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets