firebird/Firebird-2.1.2.18118.0-lock-file-location.patch

49 lines
2.0 KiB
Diff

diff -Nru Firebird-2.1.2.18118-0/configure.in Firebird-2.1.2.18118-0-gil/configure.in
--- Firebird-2.1.2.18118-0/configure.in 2008-12-12 14:28:32.000000000 +0100
+++ Firebird-2.1.2.18118-0-gil/configure.in 2009-05-12 20:42:06.000000000 +0200
@@ -940,6 +940,7 @@
mkdir -p gen/firebird/lib
mkdir -p gen/firebird/misc
mkdir -p gen/firebird/help
+mkdir -p gen/firebird/run
dnl #### TEMP ######### directories for .o and .d
dnl # by module name
diff -Nru Firebird-2.1.2.18118-0/src/jrd/file_params.h Firebird-2.1.2.18118-0-gil/src/jrd/file_params.h
--- Firebird-2.1.2.18118-0/src/jrd/file_params.h 2007-02-11 10:03:57.000000000 +0100
+++ Firebird-2.1.2.18118-0-gil/src/jrd/file_params.h 2009-05-12 20:44:00.000000000 +0200
@@ -38,11 +38,11 @@
const int EVENT_SEMAPHORES = 1;
#ifdef NOHOSTNAME
-static const char* EVENT_FILE = "isc_event1";
-static const char* LOCK_FILE = "isc_lock1.gbl";
-static const char* INIT_FILE = "isc_init1";
-static const char* GUARD_FILE = "isc_guard1";
-static const char* MONITOR_FILE = "isc_monitor1";
+static const char* EVENT_FILE = "run/isc_event1";
+static const char* LOCK_FILE = "run/isc_lock1.gbl";
+static const char* INIT_FILE = "run/isc_init1";
+static const char* GUARD_FILE = "run/isc_guard1";
+static const char* MONITOR_FILE = "run/isc_monitor1";
#elif defined(VMS)
static const char* EVENT_FILE = "[000000]isc_event1.%s";
static const char* LOCK_FILE = "[000000]isc_lock1.%s";
@@ -56,11 +56,11 @@
static const char* GUARD_FILE = "%s.grd";
static const char* MONITOR_FILE = "%s.mon";
#else
-static const char* EVENT_FILE = "isc_event1.%s";
-static const char* LOCK_FILE = "isc_lock1.%s";
-static const char* INIT_FILE = "isc_init1.%s";
-static const char* GUARD_FILE = "isc_guard1.%s";
-static const char* MONITOR_FILE = "isc_monitor1.%s";
+static const char* EVENT_FILE = "run/isc_event1.%s";
+static const char* LOCK_FILE = "run/isc_lock1.%s";
+static const char* INIT_FILE = "run/isc_init1.%s";
+static const char* GUARD_FILE = "run/isc_guard1.%s";
+static const char* MONITOR_FILE = "run/isc_monitor1.%s";
#endif
#ifdef sun