#158: possibly dangerous use of exit() in a shared library? -----------------------+---------------------------------------------------- Reporter: pmasiar | Owner: lennart Type: defect | Status: closed Priority: low | Milestone: Component: libpulse | Severity: minor Resolution: invalid | Keywords: -----------------------+---------------------------------------------------- Comment (by lennart):
Haha, reading his thread further is quite amusing, so he "traced down" PA_GCC_NORETURN, and found that it yields an exit(). This is bullshit. In reality, PA_GCC_NORETURN is nothing but a compiler optimization for functions that never return: http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Function- Attributes.html#Function%20Attributes -- Ticket URL: <http://pulseaudio.org/ticket/158#comment:2> 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