]> git.pld-linux.org Git - packages/Firebird.git/blobdiff - Firebird-FHS.patch
- updated to 3.0.10.33601
[packages/Firebird.git] / Firebird-FHS.patch
index 71a14705b857dc5112b2da883c01b9aebe6e5ee2..ccbb86f432db45b8bc55ab51467a51a342b3db09 100644 (file)
@@ -1,39 +1,14 @@
---- Firebird-2.5.0.26074-0/src/jrd/gds.cpp.orig        2010-10-28 08:01:51.000000000 +0200
-+++ Firebird-2.5.0.26074-0/src/jrd/gds.cpp     2010-10-28 08:33:54.483737691 +0200
-@@ -1751,7 +1751,12 @@
-       GDS_init_prefix();
--      strcpy(string, fb_prefix_lock); // safe - no BO
-+      const char *lockdir = "/var/lib/firebird";
-+      struct stat sb;
-+      if (stat(lockdir, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFDIR)
-+              strcpy(string, lockdir);
-+      else
-+              strcpy(string, fb_prefix_lock); // safe - no BO
-       // if someone wants to know prefix for lock files,
-       // sooner of all he wants that directory to exist
---- Firebird-2.5.0.26074-0/src/jrd/os/config_root.h.orig       2010-09-08 10:43:20.000000000 +0200
-+++ Firebird-2.5.0.26074-0/src/jrd/os/config_root.h    2010-10-28 08:36:33.139734339 +0200
-@@ -91,7 +91,7 @@
-       {
-               GetInstallDir();
-               GetRoot();
--              config_file = root_dir + string(CONFIG_FILE);
-+              config_file = "/etc/firebird/" + string(CONFIG_FILE);
-       }
-       virtual ~ConfigRoot() {}
-diff -U 3 -H -d -r -N -- Firebird-2.1.1.17910-0~/src/utilities/ibmgr/srvrmgr.cpp Firebird-2.1.1.17910-0/src/utilities/ibmgr/srvrmgr.cpp
---- Firebird-2.1.1.17910-0~/src/utilities/ibmgr/srvrmgr.cpp    2007-03-28 06:20:36.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/utilities/ibmgr/srvrmgr.cpp     2008-08-23 16:16:02.000000000 +0200
-@@ -272,7 +272,7 @@
-               rs = "can not quit now, use shut -ign";
-               break;
-       case MSG_STARTERR:
--              rs = "check $FIREBIRD/firebird.log file for errors";
-+              rs = "check /var/log/firebird.log file for errors";
-               break;
-       case MSG_STARTFAIL:
-               rs = "can not start server";
+--- Firebird-3.0.10.33601-0/src/yvalve/gds.cpp.orig    2022-07-01 08:34:37.770832195 +0200
++++ Firebird-3.0.10.33601-0/src/yvalve/gds.cpp 2022-07-01 08:41:44.837560283 +0200
+@@ -3826,10 +3826,7 @@
+               if (!fb_utils::readenv(FB_LOCK_ENV, lockPrefix))
+               {
+ #if !defined(WIN_NT)
+-                      const char* tmp = getTemporaryFolder();
+-                      if (!tmp)
+-                              tmp = WORKFILE;
+-                      PathUtils::concatPath(lockPrefix, tmp, LOCKDIR);
++                      PathUtils::concatPath(lockPrefix, "/var/lib", LOCKDIR);
+ #else
+ #ifdef WIN9X_SUPPORT
+                       // shell32.dll version 5.0 and later supports SHGetFolderPath entry point
This page took 0.051374 seconds and 4 git commands to generate.