* dll_init.cc: Use fabort in favor of api_fatal and fork_info->abort where

appropriate throughout.
(fabort): Define.
(dll_list::topsort): Don't print sorting information.  Fix formatting.
(dll_list::topsort_visit): Fix formatting.
(dll_list::load_after_fork_impl): Perform comment fixups.
* sigproc.cc (child_info_fork::abort): (for now?) Always print cause of fork
failure.
* include/sys/strace.h (strace_vprintf): Remove _STRACE_NOTALL when printing.
We really do want to see this.
This commit is contained in:
Christopher Faylor
2011-08-03 17:58:59 +00:00
parent f0968c1e7e
commit 2964913236
4 changed files with 57 additions and 44 deletions

View File

@@ -120,7 +120,7 @@ void strace_printf (unsigned, const char *func, const char *, ...);
#define strace_vprintf(what, fmt, arg) \
((void) ({\
if ((_STRACE_ ## what & _STRACE_SYSTEM) || strace.active ()) \
strace.vprntf((_STRACE_ ## what) | _STRACE_NOTALL, __PRETTY_FUNCTION__, fmt, arg); \
strace.vprntf((_STRACE_ ## what), __PRETTY_FUNCTION__, fmt, arg); \
0; \
}))
#endif /*NOSTRACE*/