mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 10:43:03 +01:00
Don't hard-code the installation path. Use ISC_PREFIX whereever possible.
This commit is contained in:
parent
3932bb6470
commit
fc16f7ada9
@ -115,7 +115,7 @@ static CONST SCHAR arg_types1[log_max][10] = {
|
||||
#endif /* WIN_NT */
|
||||
|
||||
#ifndef LOG_FILE_NAME
|
||||
#define LOG_FILE_NAME "/usr/interbase/replay.log"
|
||||
#define LOG_FILE_NAME ISC_PREFIX "/replay.log"
|
||||
#endif
|
||||
|
||||
/* these are the modes for opening the log file */
|
||||
|
@ -21,7 +21,7 @@
|
||||
* Contributor(s): ______________________________________.
|
||||
*/
|
||||
/*
|
||||
$Id: pwd.h,v 1.4 2002-07-06 05:31:56 skywalker Exp $
|
||||
$Id: pwd.h,v 1.5 2002-09-30 06:00:21 eku Exp $
|
||||
*/
|
||||
|
||||
#ifndef _JRD_PWD_H_
|
||||
@ -67,7 +67,7 @@ $Id: pwd.h,v 1.4 2002-07-06 05:31:56 skywalker Exp $
|
||||
#ifdef SUPERSERVER
|
||||
#define USER_INFO_NAME "isc4.gdb"
|
||||
#else
|
||||
#define USER_INFO_NAME "/usr/interbase/isc4.gdb"
|
||||
#define USER_INFO_NAME ISC_PREFIX "/isc4.gdb"
|
||||
#endif /* SUPERSERVER */
|
||||
#endif /* USER_INFO_NAME */
|
||||
|
||||
|
@ -22,12 +22,12 @@
|
||||
*/
|
||||
|
||||
#ifdef NOHOSTNAME
|
||||
#define LOCK_FILE "/usr/interbase/isc_lock.gbl"
|
||||
#define EVENT_FILE "/usr/interbase/isc_event.gbl"
|
||||
#define LOCK_FILE ISC_PREFIX "/isc_lock.gbl"
|
||||
#define EVENT_FILE ISC_PREFIX "/isc_event.gbl"
|
||||
#else
|
||||
#ifdef SMALL_FILE_NAMES
|
||||
#define LOCK_FILE "/usr/interbase/isclm.%s"
|
||||
#define EVENT_FILE "/usr/interbase/iscev.%s"
|
||||
#define LOCK_FILE ISC_PREFIX "/isclm.%s"
|
||||
#define EVENT_FILE ISC_PREFIX "/iscev.%s"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef EVENT_FILE
|
||||
#define EVENT_FILE "/usr/interbase/isc_event.gbl.%s"
|
||||
#define EVENT_FILE ISC_PREFIX "/isc_event.gbl.%s"
|
||||
#endif
|
||||
|
||||
#define EVENT_DEFAULT_SIZE 32768
|
||||
@ -49,11 +49,11 @@
|
||||
#define EVENT_SEMAPHORES 1
|
||||
|
||||
#ifndef LOCK_FILE
|
||||
#define LOCK_FILE "/usr/interbase/gds.lock.%s"
|
||||
#define LOCK_FILE ISC_PREFIX "/gds.lock.%s"
|
||||
#endif
|
||||
|
||||
#ifndef LOCK_HEADER
|
||||
#define LOCK_HEADER "/usr/interbase/lock_header"
|
||||
#define LOCK_HEADER ISC_PREFIX "/lock_header"
|
||||
#endif
|
||||
|
||||
#ifdef sun
|
||||
@ -79,7 +79,7 @@
|
||||
#ifdef CSV
|
||||
/* Central server definitions taken from source/csv/csi.h */
|
||||
|
||||
#define CSI_FILE "/usr/interbase/isc_csv.%s"
|
||||
#define CSI_FILE ISC_PREFIX "/isc_csv.%s"
|
||||
#define CSI_DEFAULT_SIZE 262144
|
||||
#define MAX_PROCESSES 16
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user