Blame patches/rc-1.7.4.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
diff -Nru rc-1.7.4.orig/Makefile.in rc-1.7.4/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
--- rc-1.7.4.orig/Makefile.in	2015-05-13 23:26:18.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+++ rc-1.7.4/Makefile.in	2018-05-21 14:01:54.782421179 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
@@ -920,14 +920,14 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 sigmsgs.c sigmsgs.h: mksignal
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
-	./mksignal
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	echo sigmsgs.c
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 # Newer automake's buildtime dependency tracking can't seem to figure
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 # this one out.
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 status.o: statval.h
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 statval.h: mkstatval
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
-	./mkstatval > statval.h
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	echo statval.h
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 # Of course, parse.c and parse.h depend on parse.y.  However, unless
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
 # you're hacking on rc's grammar, it's not useful to have this
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
diff -Nru rc-1.7.4.orig/sigmsgs.c rc-1.7.4/sigmsgs.c
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
--- rc-1.7.4.orig/sigmsgs.c	1970-01-01 01:00:00.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+++ rc-1.7.4/sigmsgs.c	2018-05-21 13:56:36.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
@@ -0,0 +1,69 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+#include "sigmsgs.h"
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+Sigmsgs signals[] = {
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"",	""},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sighup",	"hangup"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigint",	""},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigquit",	"quit"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigill",	"illegal instruction"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigtrap",	"trace trap"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigabrt",	"abort"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigbus",	"bus error"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigfpe",	"floating point error"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigkill",	"killed"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigusr1",	"user defined signal 1"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigsegv",	"segmentation violation"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigusr2",	"user defined signal 2"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigpipe",	""},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigalrm",	"alarm clock"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigterm",	"terminated"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigstkflt",	"stack fault"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigchld",	"child stop or exit"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigcont",	"continue"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigstop",	"stopped by program"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigtstp",	"stopped"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigttin",	"background tty read"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigttou",	"background tty write"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigurg",	"urgent condition on i/o channel"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigxcpu",	"exceeded cpu time limit"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigxfsz",	"exceeded file size limit"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigvtalrm",	"virtual timer alarm"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigprof",	"profiling timer alarm"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigwinch",	"window size change"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigio",	"socket i/o possible"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigpwr",	"power-fail restart"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigsys",	"invalid argument to system call"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown32",	"unknown signal 32"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown33",	"unknown signal 33"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown34",	"unknown signal 34"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown35",	"unknown signal 35"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown36",	"unknown signal 36"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown37",	"unknown signal 37"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown38",	"unknown signal 38"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown39",	"unknown signal 39"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown40",	"unknown signal 40"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown41",	"unknown signal 41"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown42",	"unknown signal 42"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown43",	"unknown signal 43"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown44",	"unknown signal 44"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown45",	"unknown signal 45"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown46",	"unknown signal 46"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown47",	"unknown signal 47"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown48",	"unknown signal 48"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown49",	"unknown signal 49"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown50",	"unknown signal 50"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown51",	"unknown signal 51"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown52",	"unknown signal 52"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown53",	"unknown signal 53"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown54",	"unknown signal 54"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown55",	"unknown signal 55"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown56",	"unknown signal 56"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown57",	"unknown signal 57"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown58",	"unknown signal 58"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown59",	"unknown signal 59"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown60",	"unknown signal 60"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown61",	"unknown signal 61"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown62",	"unknown signal 62"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown63",	"unknown signal 63"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	{"sigunknown64",	"unknown signal 64"},
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+};
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
diff -Nru rc-1.7.4.orig/sigmsgs.h rc-1.7.4/sigmsgs.h
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
--- rc-1.7.4.orig/sigmsgs.h	1970-01-01 01:00:00.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+++ rc-1.7.4/sigmsgs.h	2018-05-21 13:56:36.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
@@ -0,0 +1,5 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+typedef struct {
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+	char *name, *msg;
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+} Sigmsgs;
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+extern Sigmsgs signals[];
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+#define NUMOFSIGNALS 65
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
diff -Nru rc-1.7.4.orig/statval.h rc-1.7.4/statval.h
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
--- rc-1.7.4.orig/statval.h	1970-01-01 01:00:00.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+++ rc-1.7.4/statval.h	2018-05-21 13:56:42.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
@@ -0,0 +1,2 @@
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+#define STATUS0 0
Lucio Andrés Illanes Albornoz (arab, vxp) cc52a9
+#define STATUS1 256