Blame SOURCES/dump-replacement.patch

1e3c99
diff -urNp a/common/dumprmt.c b/common/dumprmt.c
1e3c99
--- a/common/dumprmt.c	2021-02-08 13:23:33.366826516 +0100
1e3c99
+++ b/common/dumprmt.c	2021-02-08 13:26:13.725243819 +0100
1e3c99
@@ -83,7 +83,6 @@
1e3c99
 #endif
1e3c99
 
1e3c99
 #include <pathnames.h>
1e3c99
-#include "dump.h"	/* for X_STARTUP, X_ABORT etc */
1e3c99
 
1e3c99
 #define	TS_CLOSED	0
1e3c99
 #define	TS_OPEN		1
1e3c99
@@ -150,7 +149,7 @@ rmtconnaborted(UNUSED(int signo))
1e3c99
 		}
1e3c99
 	}
1e3c99
 	if (abortifconnerr)
1e3c99
-		exit(X_ABORT);
1e3c99
+		exit(3);
1e3c99
 }
1e3c99
 
1e3c99
 static int
1e3c99
@@ -196,7 +195,7 @@ rmtgetconn(void)
1e3c99
 		*cp = '\0';
1e3c99
 		if (!okname(tuser)) {
1e3c99
 			if (abortifconnerr) {
1e3c99
-				exit(X_STARTUP);
1e3c99
+				exit(1);
1e3c99
 			} else {
1e3c99
 				return 0;
1e3c99
 			}
1e3c99
diff -urNp a/configure.ac b/configure.ac
1e3c99
--- a/configure.ac	2021-02-08 13:23:33.353826407 +0100
1e3c99
+++ b/configure.ac	2021-02-08 14:44:18.373749348 +0100
1e3c99
@@ -479,7 +479,6 @@ AC_CONFIG_FILES(m4_flatten([
1e3c99
 	Makefile
1e3c99
 	common/Makefile
1e3c99
 	compat/lib/Makefile
1e3c99
-	dump/Makefile
1e3c99
 	restore/Makefile
1e3c99
 	rmt/Makefile
1e3c99
 ]))
1e3c99
diff -urNp a/Makefile.am b/Makefile.am
1e3c99
--- a/Makefile.am	2021-02-08 13:23:33.355826423 +0100
1e3c99
+++ b/Makefile.am	2021-02-08 13:45:19.619244125 +0100
1e3c99
@@ -1,6 +1,6 @@
1e3c99
 ACLOCAL_AMFLAGS = -I m4
1e3c99
 
1e3c99
-SUBDIRS = compat/lib common dump restore
1e3c99
+SUBDIRS = compat/lib common restore
1e3c99
 if BUILD_RMT
1e3c99
 SUBDIRS += rmt
1e3c99
 endif