Terminate child processes before exiting in debug mode.

merge-requests/1/head
Julien BLACHE 2008-06-22 08:47:59 +00:00
rodzic dd6537cf0a
commit 83365608d3
2 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2008-06-22 Julien Blache <jb@jblache.org>
* frontend/saned.c: terminate child processes before exiting in
debug mode.
2008-06-19 Ilia Sotnikov <hostcc@gmail.com>
* backend/hp5590.c:
Fixed segmentation fault on invalid option passed to

Wyświetl plik

@ -2864,8 +2864,13 @@ run_standalone (int argc, char **argv)
free (fds);
if ((run_mode == SANED_RUN_DEBUG) && (fd > 0))
handle_connection (fd);
if (run_mode == SANED_RUN_DEBUG)
{
if (fd > 0)
handle_connection (fd);
bail_out(0);
}
}