[Ffmpeg-devel] [PATCH] restore signal handler again on sparc
Sat Dec 9 19:08:38 CET 2006
On Sat, Dec 09, 2006 at 04:52:24PM +0100, Reimar D?ffinger wrote:
> attached patch at least makes an attempt to restore the changed signal
> handler on sparc.
> The code is still broken though since it is e.g. not thread safe.
It's also unsafe to use signal() like this in library code. You need
to use sigaction() instead to preserve any other attributes associated
with the old signal handler.
However what this code is doing is a broken idea in general...
More information about the ffmpeg-devel