]> git.proxmox.com Git - mirror_frr.git/commit - lib/log.c
2005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Tue, 18 Jan 2005 22:18:59 +0000 (22:18 +0000)
committerajs <ajs>
Tue, 18 Jan 2005 22:18:59 +0000 (22:18 +0000)
commit31364274ddd1da6b77dd99e1d5d164b5c643732b
tree4f0ae083583fb605508ef981e96fb230d7110c41
parent92365889d1f856f323af452bad76f54c15ccdf45
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.
lib/ChangeLog
lib/log.c
lib/log.h
lib/sigevent.c