View | Details | Raw Unified | Return to bug 66649
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	roottail
8
PORTNAME=	roottail
9
PORTVERSION=	0.2
9
PORTVERSION=	1.1
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://www.goof.com/pcg/marc/data/
11
MASTER_SITES=	http://www.goof.com/pcg/marc/data/
12
DISTNAME=	root-tail-${PORTVERSION}
12
DISTNAME=	root-tail-${PORTVERSION}
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac
1
MD5 (root-tail-1.1.tar.gz) = adb925c2781892bb5dcbdf9d5e579032
2
SIZE (root-tail-0.2.tar.gz) = 12014
2
SIZE (root-tail-1.1.tar.gz) = 20124
(-)files/patch-aa (-23 / +24 lines)
Lines 1-31 Link Here
1
--- root-tail.c.orig	Wed May  8 22:54:47 2002
1
--- root-tail.c.orig	Thu Apr  8 22:58:28 2004
2
+++ root-tail.c	Sun Mar 16 10:41:37 2003
2
+++ root-tail.c	Fri May 14 23:48:58 2004
3
@@ -86,6 +86,7 @@
3
@@ -152,6 +152,7 @@
4
 void list_files(int);
4
 void list_files (int);
5
 void force_reopen(int);
5
 void force_reopen (int);
6
 void force_refresh(int);
6
 void force_refresh (int);
7
+void exit_now(int);
7
+void exit_now (int);
8
 void blank_window(int);
8
 void blank_window (int);
9
 
9
 
10
 void InitWindow(void);
10
 void InitWindow (void);
11
@@ -128,6 +129,12 @@
11
@@ -198,6 +199,13 @@
12
     redraw();
13
 }
12
 }
14
 
13
 
15
+void exit_now(int signal)
14
 void
15
+exit_now (int signal)
16
+{
16
+{
17
+    fprintf (stderr, "Program exiting due to signal: %d\n", signal);
17
+  fprintf (stderr, "Program exiting due to signal: %d\n", signal);
18
+    exit(-1);
18
+  exit(-1);
19
+}
19
+}
20
+
20
+
21
 void blank_window(int dummy)
21
+void
22
 blank_window (int dummy)
22
 {
23
 {
23
     XClearWindow(disp, root);
24
   XClearArea (disp, root, win_x, win_y, width + MARGIN_OF_ERROR, height, False);
24
@@ -685,6 +692,7 @@
25
@@ -1501,6 +1509,7 @@
25
     install_signal(SIGHUP, force_reopen);
26
   install_signal (SIGHUP, force_reopen);
26
     install_signal(SIGUSR1, list_files);
27
   install_signal (SIGUSR1, list_files);
27
     install_signal(SIGUSR2, force_refresh);
28
   install_signal (SIGUSR2, force_refresh);
28
+    install_signal(SIGSEGV, exit_now);
29
+  install_signal (SIGSEGV, exit_now);
29
 
30
 
30
     if (opt_daemonize)
31
   if (opt_daemonize)
31
 	daemonize();
32
     daemonize ();

Return to bug 66649