8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:03:02 +01:00
This commit is contained in:
dimitr 2006-06-02 08:26:08 +00:00
parent cabea077a4
commit 2bc42d7dba
3 changed files with 0 additions and 15 deletions

View File

@ -40,25 +40,21 @@ 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* LOCK_HEADER = "isc_config";
static const char* INIT_FILE = "isc_init1";
static const char* GUARD_FILE = "isc_guard1";
#elif defined(VMS)
static const char* EVENT_FILE = "[000000]isc_event1.%s";
static const char* LOCK_FILE = "[000000]isc_lock1.%s";
static const char* LOCK_HEADER = "[000000]isc_config";
static const char* INIT_FILE = "[000000]isc_init1.%s";
static const char* GUARD_FILE = "[000000]isc_guard1.%s";
#elif defined(WIN_NT)
static const char* EVENT_FILE = "%s.evn";
static const char* LOCK_FILE = "%s.lck";
static const char* LOCK_HEADER = "ibconfig";
static const char* INIT_FILE = "%s.int";
static const char* GUARD_FILE = "%s.grd";
#else
static const char* EVENT_FILE = "isc_event1.%s";
static const char* LOCK_FILE = "isc_lock1.%s";
static const char* LOCK_HEADER = "isc_config";
static const char* INIT_FILE = "isc_init1.%s";
static const char* GUARD_FILE = "isc_guard1.%s";
#endif
@ -92,21 +88,18 @@ static const char* MSG_FILE = "firebird.msg";
static const char MSG_FILE_LANG[]= "intl/%.10s.msg";
const int LOCALE_MAX = 10;
static const char* LOGFILE = "firebird.log";
#define TEMP_PATTERN "_XXXXXX"
#elif defined(WIN_NT)
static const char* WORKFILE = "c:\\temp\\";
static const char* MSG_FILE = "firebird.msg";
static const char MSG_FILE_LANG[]= "intl/%.8s.msg";
const int LOCALE_MAX = 6;
static const char* LOGFILE = "firebird.log";
#define TEMP_PATTERN "XXXXXX"
#elif defined(VMS)
static const char* WORKFILE = "SYS$SCRATCH:";
static const char* MSG_FILE = "[sysmsg]firebird_msg.dat";
static const char MSG_FILE_LANG[]= "[sysmsg]firebird_%.10s.dat";
const int LOCALE_MAX = 10;
static const char* LOGFILE = "[syserr]firebird.log";
#define TEMP_PATTERN "_XXXXXX"
static const char ISC_LOGICAL[] = "interbase:";
static const char ISC_LOGICAL_LOCK[] = "interbase_lock:";
@ -134,7 +127,6 @@ static const char* MSG_FILE = "firebird.msg";
static const char MSG_FILE_LANG[]= "intl/%.10s.msg";
const int LOCALE_MAX = 10;
static const char* LOGFILE = "firebird.log";
#define TEMP_PATTERN "_XXXXXX"
#endif
#endif /* JRD_FILE_PARAMS_H */

View File

@ -891,8 +891,6 @@ void LOCK_manager( SRQ_PTR manager_owner_offset)
/* Loop, waiting for something to happen */
chmod(LOCK_HEADER, 0444);
#ifdef VALIDATE_LOCK_TABLE
ULONG manager_counter = 0;
#endif
@ -975,7 +973,6 @@ void LOCK_manager( SRQ_PTR manager_owner_offset)
ISC_STATUS_ARRAY local_status;
#ifdef TERMINATE_IDLE_LOCK_MANAGER
ISC_unmap_file(local_status, &LOCK_data, ISC_SEM_REMOVE);
chmod(LOCK_HEADER, 0664);
#else
ISC_unmap_file(local_status, &LOCK_data, 0);
#endif

View File

@ -138,11 +138,7 @@ const USHORT MAX_PTYPE = ptype_batch_send;
#else
const USHORT MAX_PTYPE = ptype_out_of_band;
#endif
#ifdef SMALL_FILE_NAMES
const char* GDS_HOSTS_FILE = "/etc/gdshosts.eqv";
#else
const char* GDS_HOSTS_FILE = "/etc/gds_hosts.equiv";
#endif
#endif // VMS
#ifdef WIN_NT