summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/noad/files/noad-0.6.0-hangcheck.diff')
-rw-r--r--media-video/noad/files/noad-0.6.0-hangcheck.diff14
1 files changed, 7 insertions, 7 deletions
diff --git a/media-video/noad/files/noad-0.6.0-hangcheck.diff b/media-video/noad/files/noad-0.6.0-hangcheck.diff
index c7383c715450..37788a197fd7 100644
--- a/media-video/noad/files/noad-0.6.0-hangcheck.diff
+++ b/media-video/noad/files/noad-0.6.0-hangcheck.diff
@@ -1,10 +1,7 @@
-Nur in noad-0.6.0: confdefs.h.
-Nur in noad-0.6.0: config.log.
-Nur in noad-0.6.0: conftest.cc.
diff -ru noad-0.6.0-orig/main.cpp noad-0.6.0/main.cpp
--- noad-0.6.0-orig/main.cpp 2007-05-12 17:28:01.000000000 +0200
-+++ noad-0.6.0/main.cpp 2007-05-12 17:31:51.000000000 +0200
-@@ -566,10 +566,14 @@
++++ noad-0.6.0/main.cpp 2007-05-12 18:20:30.000000000 +0200
+@@ -566,10 +566,17 @@
signal(SIGABRT, signal_handler);
signal(SIGSEGV, signal_handler);
signal(SIGUSR1, signal_handler);
@@ -14,8 +11,11 @@ diff -ru noad-0.6.0-orig/main.cpp noad-0.6.0/main.cpp
atexit(cleanUp);
+
-+ // now start alarm timer to kill hanging noad (hardcoded 30min timeout)
-+ alarm(30*60);
++ if (!bOnline) {
++ // now start alarm timer to kill hanging noad (hardcoded 30min timeout)
++ alarm(30*60);
++ }
++
// now do the work..,
doNoad(bBefore, recDir);