]> arthur.barton.de Git - netatalk.git/commit
Use sigaction() instead of signal() for ignoring SIGPIPE
authorFrank Lahm <franklahm@googlemail.com>
Thu, 22 Nov 2012 08:58:02 +0000 (09:58 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 22 Nov 2012 08:58:02 +0000 (09:58 +0100)
commit7c87a58e70aab8eb2789f49eb4cd7c28f7df5bbc
treef843a7844e30b19bde2eb4c61fcfe8205e550664
parent4e6168e72ebe215e356b46534ee4ce31179d8695
Use sigaction() instead of signal() for ignoring SIGPIPE

Move the code to ignore SIGPIPE from the DSI sesssion setup stage
to the main signal handling code in main() and avoid the use
of deprecated signal() function and use sigaction.
etc/afpd/main.c
libatalk/dsi/dsi_getsess.c