8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 00:43:02 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
skidder
08172a193d Rollback my recent change since it made Sinix-Z unhappy 2004-03-08 18:44:24 +00:00
skidder
726eb8b447 Delete unneeded workaround 2004-03-08 02:07:38 +00:00
eku
c36a79d9c6 SINIX-Z: added prototype for strncasecmp 2004-02-27 09:32:50 +00:00
aafemt
36b46fdbb1 Rollback my last change at the instance of Claudio 2004-01-28 11:14:52 +00:00
skidder
0365f32247 Temporary hack to return Win32 to buildable state. No Win64 port is possible before ULONG name clash is resolved 2004-01-27 18:19:42 +00:00
aafemt
e2e15436b4 Fortunatelly we know how many monthes in a year 2004-01-27 11:06:05 +00:00
skidder
8f753a93ad Use plain integer as SLONG/ULONG on 32-bit platforms 2004-01-26 16:44:49 +00:00
skidder
a1d0690e63 Fix a lot of warnings 2004-01-26 16:28:06 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
skidder
6973b067ea Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now 2004-01-12 06:58:27 +00:00
robocop
0e0045426b Fix my stupid mistake 2004-01-06 10:27:52 +00:00
robocop
fd93837ec3 Cleanup:
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
brodsom
23bd035e77 -Fixes to be able to build with gcc 3.3.1 (MinGW) 2003-11-16 10:31:33 +00:00
brodsom
b02b8a86be - Finish removal of DLL_EXPORT macro 2003-11-03 01:13:29 +00:00
eku
d44da97a10 Replaced ib_printf with gds_log. stderr is usually connected to the
TCP-connection between database client and server. Writing an error message
to it means violating the Interbase protocol. The client then aborts with
an assertation in xdr_protocol (remote/protocol.cpp).
2003-10-28 13:43:45 +00:00
skidder
1be4fe1d61 Forward port Solaris fixes 2003-10-27 18:42:47 +00:00
eku
b6151b52c2 SINIX-Z: POSIX stylish sigaction. 2003-10-14 13:10:05 +00:00
skidder
b1fdfe5ab7 Fix comment, noted by Claudio 2003-10-12 14:21:14 +00:00
skidder
4e8605294e Forward port Sparc fixes 2003-10-10 23:56:57 +00:00
robocop
f94fb73bc6 Trivial style change 2003-10-07 09:55:59 +00:00
eku
2c9ed64ab6 Please use the results of configure. 2003-10-07 07:24:25 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
skidder
2d3d855c9f Make NBACKUP work on Windows 2003-09-13 18:35:39 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
255b32204e -Remove BOOLEAN_DEFINED macro
-Remove MSG_DEFINED macro
2003-08-28 22:52:19 +00:00
brodsom
6a2ef35fda -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
aafemt
8798a33d84 ENUM removal 2003-08-22 10:56:55 +00:00
brodsom
9dfe58e60e Replace __LINE__IS_INT with LINEFORMAT and remove a few ifdefs (thanks to Claudio's question) 2003-08-20 09:35:00 +00:00
aafemt
22ce2bafb5 Use new routines to get integers from char array 2003-08-12 10:44:54 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
skidder
97e8081d90 Move FB_ALIGN out of platform-dependent section as some parts of code depend on its implementation unconditionally 2003-05-25 00:10:03 +00:00
eku
590d5bf135 SINIX-Z does not provide a prototype for syslog() :-( 2003-04-23 06:40:57 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
fsg
1deafefbef use the right conversion specifiers for linux 2003-04-13 08:21:49 +00:00
eku
5260cb2ffc SINIX-Z: added missing format macros. 2003-04-10 07:06:20 +00:00
brodsom
546db7b1a7 Needed & Forgoten commit 2003-04-09 08:57:09 +00:00
fsg
31eed5ba26 xLONGFORMAT and XLONGFORMAT aren't defined for linux 2003-04-09 05:57:32 +00:00
brodsom
e0d25e002d Correct formats 2003-04-01 11:24:18 +00:00
brodsom
0ea4ed7a18 Remove pragma.h (trivial hpux only header) and replace with the code (1 line) 2003-03-18 02:57:02 +00:00
brodsom
3ebd5a9eec Remove obsolete PASCAL_ROUTINE macro 2003-02-28 23:53:38 +00:00
brodsom
292e979471 Remove HUGE_PTR 2003-02-28 13:38:30 +00:00
brodsom
165023d329 Remove FAR_VARIABLE 2003-02-28 12:57:13 +00:00
brodsom
041f639581 Remove SOLARIS_MT stdio emulation (need_ib_stdio) 2003-02-19 04:08:09 +00:00
eku
1043039c35 Removed lots of compiler warnings. 2003-02-18 10:00:22 +00:00
brodsom
5ca686dd37 Remove some of the PYXIS remains 2003-02-14 14:56:09 +00:00
brodsom
3cb91fce80 Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION) 2003-02-14 02:24:44 +00:00
brodsom
a60df28e92 Remove __STDC__ obsolete define (used for pre C88 code) 2003-02-13 15:33:51 +00:00
eku
a07adec5ab Removed nested comments. 2003-02-13 06:12:52 +00:00
brodsom
2db3993298 Remove obsolete SCO Xenix and Open Desktop.
This patch also enable platforms with M_I386 defined to be compiled.
2003-02-12 02:26:44 +00:00
brodsom
cf079201a2 Remove LINKS_EXISTS define, required header don't exist. 2003-02-10 15:06:02 +00:00
nmcc
502f7284d6 Only need ib_stdio/sfio with superserver. 2002-12-31 19:32:24 +00:00
nmcc
99f2972cf9 Remove test for HP10 from middle of sun/Solaris block. 2002-12-29 15:23:46 +00:00
eku
a5e9087b7f Moved the definition of NOFILE to a common place. 2002-11-18 07:57:43 +00:00
dimitr
78be0bfa8d Cleanup. 2002-11-14 13:40:04 +00:00
dimitr
5f61e44ddc Global names change:
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +00:00
eku
40f1aad681 Autoconf cleanup:
o added test for the header file mntent.h
 o replaced NON_MNTENT with !HAVE_MNTENT_H

Removed some left-overs from Sean's DECOSF removal.
2002-11-13 12:27:47 +00:00
eku
507b9c86c8 Do not redefine MAXPATHLEN. Always use the value supplied by the operating
system (header files).
2002-11-06 07:08:49 +00:00
eku
9fcdb74685 More status vector cleanups (ISC_STATUS_LENGTH).
Autoconf checks for xdr_hyper.
2002-11-04 13:57:18 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
seanleyne
a2bfcd6bd2 Code cleanup, removed obsolete "SGI" port 2002-10-29 03:31:20 +00:00
seanleyne
cc1f10d9a3 Code cleanup, removed obsolete "DecOSF" port 2002-10-29 03:17:45 +00:00
seanleyne
93f6fffb14 Removed obsolete "DGUX" port 2002-10-29 02:45:09 +00:00
seanleyne
026d8c0441 Code Cleanup, removed obsolete "Ultrix" and "Ultrix/MIPS" ports 2002-10-28 05:19:52 +00:00
seanleyne
045be63397 Code Cleanup, removed obsolete "UNIXWARE" port 2002-10-28 04:57:07 +00:00
seanleyne
3152b81774 Completed removal of obsolete "DG_X86" port 2002-10-28 04:42:54 +00:00
eku
0c1b55dd08 Code cleanup:
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.

Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
stryqx
ee9fb4e427 Add FreeBSD support.
This allows me to compile CS on FreeBSD 4.7 using gcc 3.2.1.
2002-10-12 04:16:32 +00:00
kkuznetsov
b5b9fd5f90 *** empty log message *** 2002-09-27 13:12:46 +00:00
kkuznetsov
a5f1e2f3be Some work on Solaris port 2002-09-25 06:22:43 +00:00
dimitr
35cc79efd3 Fixed wrong SIG_FPTR definition for win32. 2002-09-23 10:41:07 +00:00
skidder
4653efb133 Added file name/line number information to debug memory manager. Dumps memory state to memdebug.log on exit 2002-09-22 20:41:55 +00:00
eku
91f3e6589d Autoconf:
o check for the function initgroups (replaces NOINITGROUPS define)
 o the define INTL (common.h) has been removed, since it is only set but not
   used anywhere
2002-09-19 10:51:34 +00:00
eku
ef2ff91438 Autoconf cleanup:
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
 o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
 o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
 o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
   still need to write a test for FB_ALIGN!
2002-09-18 12:50:13 +00:00
eku
4eaf8c0914 Autoconf cleanup:
o since the define 'VAX' was only used to tell that the byte order is
   LITTLE_ENDIAN (it have nothing else to do with the VAX computer family)
   it can safely replaced with '!WORDS_BIGENDIAN'.
 o check if pointers are 64 bit
 o replaced HAS_64BIT_POINTERS with 'SIZEOF_VOID_P == 8'
2002-09-17 05:58:40 +00:00
skidder
9a22d2191a resoled some linux build issues, warnings 2002-09-11 19:37:30 +00:00
eku
da93f6697f Autoconf enhancements:
o autoconf v2.53 and later is now required to generate configure
   (sorry, but it makes many tasks easier)
 o improved tests for mmap, socklen_t and offt_64
 o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
 o added test for the keyword 'volatile'
 o fixed errors in configure.in
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced VOLATILE by volatile
 o removed SETPGRP and ATEXIT
 o replaced NO_FLOCK by HAVE_FLOCK
 o SIG_FPTR cleanup
 o vfork cleanup
2002-09-11 11:30:50 +00:00
fsg
b3668751f6 Some minor fixes to get it compiled under linux again,
some of them submitted by Nickolay Samofatov
2002-08-31 09:25:14 +00:00
eku
661d16f298 Another autoconf cleanup:
o check for the existence of the function strcasecmp and stricmp
 o replaced STRICMP
2002-08-28 06:50:33 +00:00
dimitr
609af2bc43 Moved SIG_FPTR type declaration from fb_types.h to common.h.
Hence we've got the codebase compiled on win32 again, and
it shouldn't break other builds, IMHO.
2002-08-27 11:47:12 +00:00
eku
db21fce19d Another autoconf cleanup:
o check for the existence of the function mmap
 o replaced MMAP_SUPPORTED by HAVE_MMAP
2002-08-26 12:10:19 +00:00
eku
56b9633d5b Another autoconf cleanup:
o check for the existence of the function sigaction
 o replaced SIGACTION_SUPPORTED with HAVE_SIGACTION
2002-08-22 10:48:26 +00:00
dimitr
b9ef9abcc0 Get rid of the legacy GATEWAY (vms/oracle) implementation. 2002-08-22 08:20:27 +00:00
skywalker
350b251820 Changes to get compiling on linux (post fb1 changes). 2002-07-05 15:00:26 +00:00
skywalker
af3c8b2b30 porting changes from fb1. 2002-07-01 15:07:18 +00:00
dimitr
25de98bfd8 Merging changes from fb1. 2002-06-29 13:03:13 +00:00
skywalker
b3667acaf8 Main changes were to add cr to end of the files.
cvt_proto.h removed a duplicate extern directive
gen/codes.h added back appolo error code, since it was still used
2002-03-11 16:34:08 +00:00
seanleyne
00d25acd85 Clean up of change notes in headers 2002-02-16 05:06:17 +00:00
seanleyne
a9ab4a30a8 Code cleanup of obsolete HP9000 s300 port 2002-02-16 03:59:02 +00:00
seanleyne
eeccbb4e0f Code cleanup of obsolete M88K and NT Power PC ports 2002-02-16 03:54:56 +00:00
seanleyne
68e1650068 Code cleanup of obsolete NCR3000 port 2002-02-16 03:33:53 +00:00
seanleyne
525f3aaaef Code cleanup of obsolete IMP port 2002-02-16 03:27:33 +00:00
seanleyne
f536f116e1 Code cleanup of obsolete DELTA port 2002-02-16 03:05:21 +00:00
seanleyne
1c799cfb3e Code cleanup of obsolete XENIX port and missed MAC (MAC_AUX) port items 2002-02-16 02:50:01 +00:00
seanleyne
e134ef027f Code cleanup of obsolete EPSON port 2002-02-16 02:21:35 +00:00
seanleyne
855b4fa319 Code cleanup of obsolete MAC AUX port defines "MAC" and "MAC_CP" 2002-02-16 01:58:24 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
365a7fe19c Changes to compile fb2 under autoconf includes some structural changes 2001-07-29 17:42:23 +00:00
bellardo
6681f4852e More changes to convert FB2 to c++. This time is files that have been renamed
and some conflict resolutions on files edited by more than one person at once.
2001-07-12 06:32:05 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00
awharrison
baa3485651 read only databases are supported unconditionally in fb2 2001-07-10 17:35:13 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00