Commit 033283c6 authored by Martyn James Russell's avatar Martyn James Russell

Fixes NB#102800, uses _exit() instead of exit() when receiving termination

	* src/tracker-extract/tracker-main.c: (signal_handler):
	* src/tracker-indexer/tracker-main.c: (signal_handler):
	* src/trackerd/tracker-main.c: (signal_handler): Fixes NB#102800,
	uses _exit() instead of exit() when receiving termination signals
	more than once (like Ctrl+C).

svn path=/trunk/; revision=3115
parent 74359805
2009-03-23 Martyn Russell <martyn@imendio.com>
* src/tracker-extract/tracker-main.c: (signal_handler):
* src/tracker-indexer/tracker-main.c: (signal_handler):
* src/trackerd/tracker-main.c: (signal_handler): Fixes NB#102800,
uses _exit() instead of exit() when receiving termination signals
more than once (like Ctrl+C).
2009-03-20 Martyn Russell <martyn@imendio.com>
* src/tracker-indexer/tracker-module-metadata-utils.c: Used code
......
......@@ -165,7 +165,7 @@ signal_handler (int signo)
/* Die if we get re-entrant signals handler calls */
if (in_loop) {
exit (EXIT_FAILURE);
_exit (EXIT_FAILURE);
}
switch (signo) {
......
......@@ -153,7 +153,7 @@ signal_handler (int signo)
/* Die if we get re-entrant signals handler calls */
if (in_loop) {
exit (EXIT_FAILURE);
_exit (EXIT_FAILURE);
}
switch (signo) {
......
......@@ -464,7 +464,7 @@ signal_handler (int signo)
/* Die if we get re-entrant signals handler calls */
if (in_loop) {
exit (EXIT_FAILURE);
_exit (EXIT_FAILURE);
}
switch (signo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment