dimitr
e65e672fd7
Small cleanup.
2003-09-28 16:54:49 +00:00
brodsom
02e93ce396
Correction (Thanks to Claudio)
2003-09-18 21:57:59 +00:00
brodsom
6a2ef35fda
-Remove NULL_PTR
...
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
brodsom
531c365ab5
-Fix signed unsigned comparison
2003-08-11 01:19:16 +00:00
dimitr
3fac72d57c
Uniform tempfile naming.
2003-07-06 07:04:03 +00:00
eku
68da33d89d
Improved error handling as suggested by skidder.
2003-05-14 12:32:02 +00:00
eku
d496ef4e4e
Check for the function mkstemp(). If it's not available, fall back to mktemp().
2003-05-14 05:40:00 +00:00
skidder
ce1dca4ea4
1. Cleanup
...
2. Rework temporary files management. In particular:
- fix security hole on all POSIX platforms except FREEBSD/OPENBSD related to mktemp usage (possible DoS attacks or privileges elevation) via switching to mkstemp
- fix problem with only 27 unique filenames generated on Win32 (which could cause unpredictable behavior in SS builds)
- pass appropriate flags to CreateFile on Win32 to indicate that files are temporary (this may improve performance a little)
2003-05-09 16:18:32 +00:00
aafemt
19bb54f2a8
STATUS -> ISC_STATUS
2003-04-10 06:49:16 +00:00
brodsom
79a40c0d99
Put declarations and definitions inside the same ifdef condition under which is used. (for not used ones NOT_USED_OR_REPLACED)
2003-03-03 09:22:32 +00:00
brodsom
c7e4ee4ab4
-Comment declared but undefined functions. (found with gcc never defined warnings)
2003-03-01 19:11:57 +00:00
brodsom
292e979471
Remove HUGE_PTR
2003-02-28 13:38:30 +00:00
eku
f7b689456f
Fixed a "search and replace" error from my previous check-in.
2003-02-17 08:42:00 +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
dimitr
67749f906b
Fixed exception handling.
2003-02-13 13:33:57 +00:00
dimitr
b096a2593d
CONST -> const
2003-02-13 10:11:35 +00:00
brodsom
7bb0b2bc32
Change define name SORT_TRACE to DEBUG_SORT_TRACE
2003-02-11 00:56:13 +00:00
eku
a7f18b2e31
Removed "register" variables from the source code. It's up to the compiler
...
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
65046f123a
Undone.
2003-01-18 18:02:12 +00:00
dimitr
15e44973c8
Reverted allocations in the sort module back to system instead of the default pool. Look at Dave's comments in sort_alloc.
2003-01-18 15:03:45 +00:00
skidder
ba5e11b15c
Integrate new memory manager into the engine
2003-01-16 17:47:10 +00:00
dimitr
12f9c50364
Cleanup.
2002-12-03 10:14:53 +00:00
seanleyne
7e4d14ac6d
A small code cleanup.
2002-12-03 03:47:49 +00:00
eku
34e9391a97
Use the new macro FB_NELEM to calculate the number of elements in an array.
2002-12-02 09:45:52 +00:00
dimitr
dc74ee0ed8
Cleanup.
2002-11-17 15:51:25 +00:00
dimitr
6c80fa5718
Some changes to support future improvements.
2002-11-16 17:41:12 +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
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
skidder
6d64014e57
Changed engine to store source file name/line number information for EVERY allocation when DEBUG_GDS_ALLOC is defined. All allocation should be done using FB_NEW or FB_NEW_RPT macros instead of keyword new since now
2002-09-25 17:12:16 +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
skywalker
89e06a1b43
Merge final changes from fb1 tree.
2002-07-06 05:32:02 +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
c1f4df907e
I believe now my changes are ready for the public testing.
2002-06-04 13:07:51 +00:00
dimitr
11232b51d6
Applied Mike Grover's fix from FB1 tree to my recent changes
2002-04-29 12:06:20 +00:00
dimitr
3db9f88a20
New temporary space management for the external sorting stuff
2002-04-29 11:22:26 +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
747d13c0d5
Changes to bring FB2 to c++ on *nix.
2001-07-12 05:46:06 +00:00
tamlin
9a776a604e
First steps towards a C++ conversion.
2001-05-23 13:26:42 +00:00