Make the signal handler safe: block signals when updating data-structures
authorguenther <guenther@openbsd.org>
Fri, 23 May 2014 19:47:49 +0000 (19:47 +0000)
committerguenther <guenther@openbsd.org>
Fri, 23 May 2014 19:47:49 +0000 (19:47 +0000)
commit0a8bc8ffaec8677dcd7c81f9f4b2adc18bbc8211
treea49eb581b6774749bd28fbbc53ca6c809dcea9ad
parent50c79b3c2b003139c66343c7b805abfae1d2b424
Make the signal handler safe: block signals when updating data-structures
that are walked by routines called from the signal handler and use
dprintf() instead fprintf() in ar_close().

ok millert@
bin/pax/ar_io.c
bin/pax/ar_subs.c
bin/pax/extern.h
bin/pax/pax.c
bin/pax/tables.c