diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 2ee3bb8..7a5a636 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -141,16 +141,16 @@ Priority: optional Maintainer: Travis Cross Build-Depends: # for debian - debhelper (>= 8.0.0), + debhelper (>= 7.4.15), # bootstrapping automake (>= 1.9), autoconf, libtool, # core build - dpkg-dev (>= 1.15.8.12), gcc (>= 4:4.4.5) , g++ (>= 4:4.4.5), - libc6-dev (>= 2.11.3), make (>= 3.81), + dpkg-dev (>= 1.15.5.6), gcc (>= 4:4.4.3) , g++ (>= 4:4.4.3), + libc6-dev (>= 2.11.1), make (>= 3.81), wget, pkg-config, # configure options libssl-dev, unixodbc-dev, - libncurses5-dev, libjpeg8-dev, + libncurses5-dev, libjpeg62-dev, python-dev, erlang-dev, # documentation doxygen, diff --git a/debian/compat b/debian/compat index 45a4fb7..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -8 +7 diff --git a/src/mod/timers/mod_posix_timer/mod_posix_timer.c b/src/mod/timers/mod_posix_timer/mod_posix_timer.c index 04d694b..04d8d46 100644 --- a/src/mod/timers/mod_posix_timer/mod_posix_timer.c +++ b/src/mod/timers/mod_posix_timer/mod_posix_timer.c @@ -111,7 +111,9 @@ static void timer_signal_handler(int sig, siginfo_t *si, void *cu) if (val >= 0 && val <= MAX_ACTIVE_TIMERS) { uint8_t active_id = (uint8_t)val; /* notify runtime thread that timer identified by active_id has ticked */ - write(globals.timer_tick_pipe[1], &active_id, 1); + if (write(globals.timer_tick_pipe[1], &active_id, 1) == -1) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error writing to pipe: %s.\n", strerror(errno)); + } } } }