8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed some really old typos.

Included ExecuteStatement in the LINUX-Build
This commit is contained in:
fsg 2003-03-02 17:47:22 +00:00
parent 4954c9ea42
commit e0dcb77416
12 changed files with 23 additions and 22 deletions

View File

@ -33,7 +33,8 @@ JRD_ServerFiles= blob_filter.epp dpm.epp dyn.epp dyn_def.epp \
cch.cpp cmp.cpp cvt2.cpp db_alias.cpp \ cch.cpp cmp.cpp cvt2.cpp db_alias.cpp \
dfw.cpp divorce.cpp \ dfw.cpp divorce.cpp \
err.cpp iberr.cpp \ err.cpp iberr.cpp \
event.cpp evl.cpp exe.cpp ext.cpp filters.cpp flu.cpp functions.cpp \ event.cpp evl.cpp exe.cpp ext.cpp\
ExecuteStatement.cpp filters.cpp flu.cpp functions.cpp \
idx.cpp inf.cpp intl.cpp intl_builtin.cpp inuse.cpp \ idx.cpp inf.cpp intl.cpp intl_builtin.cpp inuse.cpp \
jrd.cpp jrn.cpp lck.cpp llio.cpp log.cpp \ jrd.cpp jrn.cpp lck.cpp llio.cpp log.cpp \
misc.cpp mov.cpp nav.cpp old.cpp opt.cpp pag.cpp par.cpp \ misc.cpp mov.cpp nav.cpp old.cpp opt.cpp pag.cpp par.cpp \

View File

@ -27,7 +27,7 @@
// //
//____________________________________________________________ //____________________________________________________________
// //
// $Id: cob.cpp,v 1.19 2003-02-27 21:43:11 brodsom Exp $ // $Id: cob.cpp,v 1.20 2003-03-02 17:47:20 fsg Exp $
// //
// 2002.10.27 Sean Leyne - Completed removal of obsolete "DG_X86" port // 2002.10.27 Sean Leyne - Completed removal of obsolete "DG_X86" port
// 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "UNIXWARE" port // 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "UNIXWARE" port
@ -161,7 +161,7 @@
#define MICROFOCUS #define MICROFOCUS
#endif #endif
#ifdef linux #ifdef LINUX
#define MICROFOCUS #define MICROFOCUS
#endif #endif

View File

@ -24,7 +24,7 @@
// //
//____________________________________________________________ //____________________________________________________________
// //
// $Id: ftn.cpp,v 1.17 2003-02-27 16:04:56 brodsom Exp $ // $Id: ftn.cpp,v 1.18 2003-03-02 17:47:20 fsg Exp $
// //
// 2002.10.28 Sean Leyne - Completed removal of obsolete "DGUX" port // 2002.10.28 Sean Leyne - Completed removal of obsolete "DGUX" port
// 2002.10.28 Sean Leyne - Completed removal of obsolete "SGI" port // 2002.10.28 Sean Leyne - Completed removal of obsolete "SGI" port
@ -264,7 +264,7 @@ static ADL array_decl_list;
#define COMMA "," #define COMMA ","
#endif #endif
#ifdef linux #ifdef LINUX
#define INCLUDE_ISC_FTN " INCLUDE '/usr/interbase/include/gds.f\' \n\n" #define INCLUDE_ISC_FTN " INCLUDE '/usr/interbase/include/gds.f\' \n\n"
#define INCLUDE_FTN_FILE "include/gds.f" #define INCLUDE_FTN_FILE "include/gds.f"
#define DOUBLE_DCL "DOUBLE PRECISION" #define DOUBLE_DCL "DOUBLE PRECISION"

View File

@ -68,7 +68,7 @@ static struct {
/* dtype_timestamp */ SQL_TIMESTAMP, sizeof(SLONG) * 2, /* dtype_timestamp */ SQL_TIMESTAMP, sizeof(SLONG) * 2,
/* dtype_blob */ SQL_BLOB, 0, /* dtype_blob */ SQL_BLOB, 0,
/* dtype_array */ SQL_ARRAY, -1, // Not supported for a while /* dtype_array */ SQL_ARRAY, -1, // Not supported for a while
/* dtype_int64 */ SQL_INT64, sizeof(__int64), /* dtype_int64 */ SQL_INT64, sizeof(SINT64),
}; };
static TEXT cba[] = "Callback arg"; static TEXT cba[] = "Callback arg";

View File

@ -35,7 +35,7 @@
* *
*/ */
/* /*
$Id: flu.cpp,v 1.28 2003-02-25 12:43:52 brodsom Exp $ $Id: flu.cpp,v 1.29 2003-03-02 17:47:21 fsg Exp $
*/ */
#include "firebird.h" #include "firebird.h"
@ -83,7 +83,7 @@ static int condition_handler(int *, int *, int *);
#define IB_UDF_DIR "UDF/" #define IB_UDF_DIR "UDF/"
#endif #endif
#if (defined SOLARIS || defined SCO_EV || defined linux || defined AIX_PPC || defined SINIXZ || defined FREEBSD) #if (defined SOLARIS || defined SCO_EV || defined LINUX || defined AIX_PPC || defined SINIXZ || defined FREEBSD)
#include <dlfcn.h> #include <dlfcn.h>
#define DYNAMIC_SHARED_LIBRARIES #define DYNAMIC_SHARED_LIBRARIES
#include <unistd.h> #include <unistd.h>

View File

@ -181,7 +181,7 @@ extern int ib_printf();
#endif #endif
#endif #endif
#if !(defined VMS || defined WIN_NT || defined linux || defined FREEBSD || defined NETBSD || defined DARWIN ) #if !(defined VMS || defined WIN_NT || defined LINUX || defined FREEBSD || defined NETBSD || defined DARWIN )
extern int errno; extern int errno;
extern SCHAR *sys_errlist[]; extern SCHAR *sys_errlist[];
extern int sys_nerr; extern int sys_nerr;

View File

@ -642,7 +642,7 @@ int ISC_event_init(EVENT event, int semid, int semnum)
pthread_cond_init(event->event_semnum, pthread_condattr_default); pthread_cond_init(event->event_semnum, pthread_condattr_default);
#else #else
/* RITTER - added HP11 to the preprocessor condition below */ /* RITTER - added HP11 to the preprocessor condition below */
#if (defined linux || defined DARWIN || defined HP11 || defined FREEBSD) #if (defined LINUX || defined DARWIN || defined HP11 || defined FREEBSD)
pthread_mutex_init(event->event_mutex, NULL); pthread_mutex_init(event->event_mutex, NULL);
pthread_cond_init(event->event_semnum, NULL); pthread_cond_init(event->event_semnum, NULL);
#else #else
@ -771,7 +771,7 @@ int ISC_event_wait(
if (micro_seconds > 0 && (ret == -1) && (errno == EAGAIN)) if (micro_seconds > 0 && (ret == -1) && (errno == EAGAIN))
#else #else
/* RITTER - added HP11 to the preprocessor condition below */ /* RITTER - added HP11 to the preprocessor condition below */
#if (defined linux || defined DARWIN || defined HP11 || defined FREEBSD) #if (defined LINUX || defined DARWIN || defined HP11 || defined FREEBSD)
if (micro_seconds > 0 && (ret == ETIMEDOUT)) if (micro_seconds > 0 && (ret == ETIMEDOUT))
#else #else
if (micro_seconds > 0 && (ret == ETIME)) if (micro_seconds > 0 && (ret == ETIME))
@ -3172,7 +3172,7 @@ int ISC_mutex_init(MTX mutex, SLONG semaphore)
int state; int state;
/* RITTER - replaced HP10 with HPUX in the line below */ /* RITTER - replaced HP10 with HPUX in the line below */
#if (!defined HPUX && !defined linux && !defined DARWIN && !defined FREEBSD) #if (!defined HPUX && !defined LINUX && !defined DARWIN && !defined FREEBSD)
pthread_mutexattr_t mattr; pthread_mutexattr_t mattr;
@ -3193,7 +3193,7 @@ int ISC_mutex_init(MTX mutex, SLONG semaphore)
memory in which case we need interprocess thread sync. memory in which case we need interprocess thread sync.
*/ */
/* RITTER - added HP11 */ /* RITTER - added HP11 */
#if (defined linux || defined DARWIN || defined HP11 || defined FREEBSD) #if (defined LINUX || defined DARWIN || defined HP11 || defined FREEBSD)
return pthread_mutex_init(mutex->mtx_mutex, NULL); return pthread_mutex_init(mutex->mtx_mutex, NULL);
#else #else
state = pthread_mutex_init(mutex->mtx_mutex, pthread_mutexattr_default); state = pthread_mutex_init(mutex->mtx_mutex, pthread_mutexattr_default);

View File

@ -169,7 +169,7 @@ static BOOLEAN find_type(SLONG, WIN *, PAG *, USHORT, USHORT, UCHAR **,
#define CLASS 19 #define CLASS 19
#endif #endif
#ifdef linux #ifdef LINUX
#ifdef i386 #ifdef i386
#define CLASS 19 #define CLASS 19
#endif #endif

View File

@ -1868,7 +1868,7 @@ static int thread_start(
pthread_attr_t pattr; pthread_attr_t pattr;
int state; int state;
#if ( !defined HP10 && !defined linux && !defined FREEBSD ) #if ( !defined HP10 && !defined LINUX && !defined FREEBSD )
state = pthread_attr_init(&pattr); state = pthread_attr_init(&pattr);
if (state) if (state)
return state; return state;
@ -1885,7 +1885,7 @@ static int thread_start(
return state; return state;
#else #else
#if ( defined linux || defined FREEBSD ) #if ( defined LINUX || defined FREEBSD )
if (state = pthread_create(&thread, NULL, (void*(*)(void*))routine, arg)) if (state = pthread_create(&thread, NULL, (void*(*)(void*))routine, arg))
return state; return state;
return pthread_detach(thread); return pthread_detach(thread);

View File

@ -29,7 +29,7 @@
* *
*/ */
/* /*
$Id: lock.cpp,v 1.35 2003-03-01 19:10:43 brodsom Exp $ $Id: lock.cpp,v 1.36 2003-03-02 17:47:22 fsg Exp $
*/ */
#include "firebird.h" #include "firebird.h"
@ -188,7 +188,7 @@ SSHORT LOCK_debug_level = 0;
#define DUMMY_OWNER_DELETE ((PTR) -2) #define DUMMY_OWNER_DELETE ((PTR) -2)
#define DUMMY_OWNER_SHUTDOWN ((PTR) -3) #define DUMMY_OWNER_SHUTDOWN ((PTR) -3)
#if !(defined linux || defined WIN_NT || defined FREEBSD || defined NETBSD || defined DARWIN ) #if !(defined LINUX || defined WIN_NT || defined FREEBSD || defined NETBSD || defined DARWIN )
extern SCHAR *sys_errlist[]; extern SCHAR *sys_errlist[];
#endif #endif

View File

@ -81,7 +81,7 @@ DATABASE DB = STATIC "yachts.lnk";
#if (defined WIN_NT) #if (defined WIN_NT)
#include <stdlib.h> #include <stdlib.h>
#else #else
#if !(defined linux || defined FREEBSD || defined NETBSD || defined DARWIN) #if !(defined LINUX || defined FREEBSD || defined NETBSD || defined DARWIN)
extern SCHAR *sys_errlist[]; extern SCHAR *sys_errlist[];
#endif #endif
#endif #endif

View File

@ -20,7 +20,7 @@
* All Rights Reserved. * All Rights Reserved.
* Contributor(s): ______________________________________. * Contributor(s): ______________________________________.
* *
* $Id: drop.cpp,v 1.16 2003-02-15 00:55:08 brodsom Exp $ * $Id: drop.cpp,v 1.17 2003-03-02 17:47:22 fsg Exp $
* *
* 2002.10.27 Sean Leyne - Completed removal of obsolete "DELTA" port * 2002.10.27 Sean Leyne - Completed removal of obsolete "DELTA" port
* 2002.10.27 Sean Leyne - Completed removal of obsolete "IMP" port * 2002.10.27 Sean Leyne - Completed removal of obsolete "IMP" port
@ -354,7 +354,7 @@ static int sem_exclusive( SLONG key, SLONG count)
**************************************/ **************************************/
int semid; int semid;
#if !(defined SUNOS4 || defined linux || defined FREEBSD || defined NETBSD || defined SINIXZ) #if !(defined SUNOS4 || defined LINUX || defined FREEBSD || defined NETBSD || defined SINIXZ)
return semget(key, (int) count, IPC_EXCL); return semget(key, (int) count, IPC_EXCL);
#else #else
if ((semid = semget(key, (int) count, IPC_EXCL)) != -1) if ((semid = semget(key, (int) count, IPC_EXCL)) != -1)