Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 762484
Collapse All | Expand All

(-)a/src/egg-debug.c (+4 lines)
Lines 39-45 Link Here
39
#include <sys/stat.h>
39
#include <sys/stat.h>
40
#include <fcntl.h>
40
#include <fcntl.h>
41
#include <time.h>
41
#include <time.h>
42
#ifdef __GLIBC__
42
#include <execinfo.h>
43
#include <execinfo.h>
44
#endif
43
45
44
#include "egg-debug.h"
46
#include "egg-debug.h"
45
47
Lines 78-83 pk_set_console_mode (guint console_code) Link Here
78
void
80
void
79
egg_debug_backtrace (void)
81
egg_debug_backtrace (void)
80
{
82
{
83
#ifdef __GLIBC__
81
	void *call_stack[512];
84
	void *call_stack[512];
82
	int  call_stack_size;
85
	int  call_stack_size;
83
	char **symbols;
86
	char **symbols;
Lines 95-100 egg_debug_backtrace (void) Link Here
95
		pk_set_console_mode (CONSOLE_RESET);
98
		pk_set_console_mode (CONSOLE_RESET);
96
		free (symbols);
99
		free (symbols);
97
	}
100
	}
101
#endif
98
}
102
}
99
103
100
/**
104
/**
(-)a/applets/brightness/egg-debug.c (+4 lines)
Lines 39-45 Link Here
39
#include <sys/stat.h>
39
#include <sys/stat.h>
40
#include <fcntl.h>
40
#include <fcntl.h>
41
#include <time.h>
41
#include <time.h>
42
#ifdef __GLIBC__
42
#include <execinfo.h>
43
#include <execinfo.h>
44
#endif
43
45
44
#include "egg-debug.h"
46
#include "egg-debug.h"
45
47
Lines 78-83 pk_set_console_mode (guint console_code) Link Here
78
void
80
void
79
egg_debug_backtrace (void)
81
egg_debug_backtrace (void)
80
{
82
{
83
#ifdef __GLIBC__
81
	void *call_stack[512];
84
	void *call_stack[512];
82
	int  call_stack_size;
85
	int  call_stack_size;
83
	char **symbols;
86
	char **symbols;
Lines 95-100 egg_debug_backtrace (void) Link Here
95
		pk_set_console_mode (CONSOLE_RESET);
98
		pk_set_console_mode (CONSOLE_RESET);
96
		free (symbols);
99
		free (symbols);
97
	}
100
	}
101
#endif
98
}
102
}
99
103
100
/**
104
/**
(-)a/applets/inhibit/egg-debug.c (+4 lines)
Lines 39-45 Link Here
39
#include <sys/stat.h>
39
#include <sys/stat.h>
40
#include <fcntl.h>
40
#include <fcntl.h>
41
#include <time.h>
41
#include <time.h>
42
#ifdef __GLIBC__
42
#include <execinfo.h>
43
#include <execinfo.h>
44
#endif
43
45
44
#include "egg-debug.h"
46
#include "egg-debug.h"
45
47
Lines 78-83 pk_set_console_mode (guint console_code) Link Here
78
void
80
void
79
egg_debug_backtrace (void)
81
egg_debug_backtrace (void)
80
{
82
{
83
#ifdef __GLIBC__
81
	void *call_stack[512];
84
	void *call_stack[512];
82
	int  call_stack_size;
85
	int  call_stack_size;
83
	char **symbols;
86
	char **symbols;
Lines 95-100 egg_debug_backtrace (void) Link Here
95
		pk_set_console_mode (CONSOLE_RESET);
98
		pk_set_console_mode (CONSOLE_RESET);
96
		free (symbols);
99
		free (symbols);
97
	}
100
	}
101
#endif
98
}
102
}
99
103
100
/**
104
/**

Return to bug 762484