Browse Source

Made burn_set_signal_handling() more suitable for cdrskin

tags/ZeroSevenEight
Thomas Schmitt 10 years ago
parent
commit
dd74364ebb
2 changed files with 9 additions and 3 deletions
  1. +1
    -1
      cdrskin/cdrskin_timestamp.h
  2. +8
    -2
      libburn/init.c

+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

@@ -1 +1 @@
#define Cdrskin_timestamP "2010.02.17.141409"
#define Cdrskin_timestamP "2010.02.22.134904"

+ 8
- 2
libburn/init.c View File

@@ -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));
*/

}


Loading…
Cancel
Save