Commit dd74364e authored by Thomas Schmitt's avatar Thomas Schmitt

Made burn_set_signal_handling() more suitable for cdrskin

parent 255e5362
#define Cdrskin_timestamP "2010.02.17.141409"
#define Cdrskin_timestamP "2010.02.22.134904"
......@@ -417,10 +417,16 @@ int burn_builtin_abort_handler(void *handle, int signum, int flag)
void burn_set_signal_handling(void *handle, burn_abort_handler_t handler,
int mode)
{
if(handler == NULL && mode == 0) {
/*
fprintf(stderr, "libburn_experimental: burn_set_signal_handling, handler==%lx mode=%d\n", (unsigned long) handler, mode);
*/
if(handler == NULL) {
handler = burn_builtin_abort_handler;
/*
fprintf(stderr, "libburn_experimental: activated burn_builtin_abort_handler() with handle '%s'\n",(handle==NULL ? "libburn : " : (char *) handle));
if ((mode & ~4) == 0)
fprintf(stderr, "libburn_experimental: activated burn_builtin_abort_handler() with handle '%s'\n",(handle==NULL ? "libburn : " : (char *) handle));
*/
}
......
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