summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorajs <ajs>2005-01-18 22:18:59 +0000
committerajs <ajs>2005-01-18 22:18:59 +0000
commit6fe5c21aaa80b498fcf878ffa0067eab10c59289 (patch)
tree8e61511dd96f9c0b0edf04dc347f1b0b56c37c81 /lib/command.c
parentde87706a616401dff6942cc0901f7e527bf8c54a (diff)
downloadquagga-6fe5c21aaa80b498fcf878ffa0067eab10c59289.tar.bz2
quagga-6fe5c21aaa80b498fcf878ffa0067eab10c59289.tar.xz
2005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.h: Test for SA_SIGINFO to see whether zlog_signal takes final two args (siginfo and program_counter). * log.c: (hex_append) Include this function only if SA_SIGINFO or HAVE_GLIBC_BACKTRACE is defined. (zlog_signal) Final two args (siginfo and program_counter) now depend on whether SA_SIGINFO is defined on this platform. * sigevent.c: (program_counter) Do not include this function if SA_SIGINFO is not defined on this platform. (exit_handler,core_handler) Test for SA_SIGINFO to decide whether 2nd & 3rd arguments are present and to decide how to invoke zlog_signal. (trap_default_signals) Test for SA_SIGINFO and invoke sigaction appropriately.
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions