File use-different-name-for-lock-directory.patch of Package compat-firebird25

From: Michal Kubecek <mkubecek@suse.cz>
Date: Tue, 12 Jul 2016 10:20:23 +0200
Subject: use different name for lock directory
Patch-mainline: Never, compat package hack

Use "firebird25" name rather than "firebird" for the lock directory in
/tmp so that the compat-firebird25 package can work alongside regular
Firebird 3.0.
---
 src/jrd/file_params.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jrd/file_params.h b/src/jrd/file_params.h
index 3382e04b1f51..b14bbb131207 100644
--- a/src/jrd/file_params.h
+++ b/src/jrd/file_params.h
@@ -67,7 +67,7 @@ static const char* const WORKFILE	= "/tmp/";
 static const char MSG_FILE_LANG[]	= "intl/%.10s.msg";
 #endif
 
-static const char* const LOCKDIR	= "firebird";		// created in WORKFILE
+static const char* const LOCKDIR	= "firebird25";		// created in WORKFILE
 static const char* const LOGFILE	= "firebird.log";
 static const char* const MSG_FILE	= "firebird.msg";
 // Keep in sync with MSG_FILE_LANG
-- 
2.9.0

openSUSE Build Service is sponsored by