Commit Graph

5 Commits

Author SHA1 Message Date
Baptiste Daroussin
999c1fd64b Remove usage of _WITH_DPRINTF 2016-07-30 01:16:06 +00:00
Ed Maste
3e7aca6f4e libexecinfo: Include terminating null in byte count
Otherwise, a formatted string with a strlen equal to the remaining
buffer space would have the last character omitted (because vsnprintf
always null-terminates), and later the assert in backtrace_symbols_fmt
would fail.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
2013-11-21 14:12:36 +00:00
Ed Maste
f357c00bf7 Update to 2013-08-29 NetBSD libexecinfo snapshot
This adds my patch to use the kern.proc.pathname sysctl instead of
relying on procfs(5).
2013-08-29 16:57:55 +00:00
Ed Maste
38ed7e0769 FreeBSD compatibility for libexecinfo 2013-08-23 12:42:13 +00:00
Ed Maste
287472b39c Import NetBSD libexecinfo 20130822 to contrib 2013-08-23 12:38:51 +00:00