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