2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c, log.h, memory.c: Change function name from zlog_backtrace_safe
to the more self-explanatory zlog_backtrace_sigsafe.
diff --git a/lib/log.c b/lib/log.c
index 6623b5c..86e3833 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -226,14 +226,14 @@
}
#undef DUMP
- zlog_backtrace_safe(LOG_ERR);
+ zlog_backtrace_sigsafe(LOG_ERR);
#undef LOC
}
/* Log a backtrace using only async-signal-safe functions.
Needs to be enhanced to support syslog logging. */
void
-zlog_backtrace_safe(int priority)
+zlog_backtrace_sigsafe(int priority)
{
#ifdef HAVE_GLIBC_BACKTRACE
void *array[20];