[Buildroot] [PATCHv2] package/connman: cleanup backtrace patch
Baruch Siach
baruch at tkos.co.il
Thu Dec 24 12:04:39 UTC 2015
Hi Yann,
On Thu, Dec 24, 2015 at 12:51:49PM +0100, Yann E. MORIN wrote:
> +@@ -112,6 +114,7 @@ void connman_debug(const char *format, ...)
> +
> + static void print_backtrace(unsigned int offset)
> + {
> ++#if defined(HAVE_EXECINFO_H)
> + void *frames[99];
> + size_t n_ptrs;
> + unsigned int i;
> +@@ -210,6 +213,7 @@ static void print_backtrace(unsigned int offset)
> +
> + close(outfd[1]);
> + close(infd[0]);
> ++#endif /* HAVE_BACKTRACE */
The comment is wrong now.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list