8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
Commit Graph

151 Commits

Author SHA1 Message Date
brodsom
0daa189563 Removing ib_stdio.h 2004-04-28 22:36:29 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
2fa67d46bc Cleanup
Reduce reinterpret and C casts
Fix isql so it can show all predefined blob types in readable form.
2004-02-24 05:34:44 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
eku
14b3de174e Port numbers are limited to 16 bit. 2004-01-13 13:38:36 +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
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
dimitr
73c64e9835 Replaced itoa with snprintf. 2003-12-11 08:26:46 +00:00
dimitr
21e87f82e6 Fixed issues with TCP/IP port/service specification. 2003-12-06 15:52:45 +00:00
robocop
b02c629735 Cleanup
Some name changes
Try to fix SINIX-Z problems with send() prototype
2003-12-05 10:35:47 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
eku
4a38dfd307 Moved the definition of socklen_t to autoconfig.h. It's used in inet.ccp and
server.cpp.
2003-11-20 08:13:30 +00:00
brodsom
27cbcdd73e -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:57:23 +00:00
skidder
f2180c2744 Forcedly set SO_KEEPALIVE flag for POSIX CS connections independently of what was given by xinetd/inetd to us 2003-11-15 20:16:29 +00:00
brodsom
c5253ae8a5 -Replace gds__ constants with isc_ contants
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
brodsom
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
robocop
cda707bd36 const correctness and other related changes 2003-11-01 10:26:43 +00:00
eku
da0d0f068f Cleanup usage of gettimeofday. 2003-10-31 11:33:45 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
brodsom
bac69c42fc extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:20:50 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
dimitr
835c254336 Don't change screen cursor during CS attach. 2003-09-24 14:53:25 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
brodsom
fa09e72d4e Corrections (Thanks to Claudio) 2003-09-13 09:15:06 +00:00
brodsom
65d792cda0 -BOOLEAN cleaning 2003-09-11 18:59:34 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
499337fda5 Split utilities dir 2003-07-15 02:43:36 +00:00
brodsom
3e8835251f Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 11:26:38 +00:00
dimitr
318d501392 Fixed manual TCP port assignment. 2003-06-25 07:39:04 +00:00
aafemt
931da98b2f STATUS -> ISC_STATUS 2003-04-10 10:31:28 +00:00
dimitr
ae56ed3860 1. Ask for only asymmetric protocols from the client side.
2. Cleanup.
2003-04-09 13:20:56 +00:00
brodsom
c246f9d897 Avoid signed unsigned comparison 2003-04-03 17:19:10 +00:00
brodsom
e9528848f9 Correct formats 2003-04-01 11:35:44 +00:00
paul_reeves
f5d55453a7 Fix for an SS event handler bug (code courtesy of Jim Starkey) 2003-03-27 10:39:56 +00:00
dimitr
e23d6227ec Reworked my previous changes in INET. 2003-03-19 13:14:09 +00:00
eku
71f98a7163 Some systems do not define INADDR_NONE. 2003-03-12 13:55:45 +00:00
dimitr
d7eff3d67a Fixed posix builds. 2003-03-12 11:22:24 +00:00
dimitr
15fe1fb209 1. Cleanup
2. Fixed known issues with event processing
3. Used new config options
Although these changes seem to be unix-sockets compliant, I'm only 99% sure in it, so please let me know if it breaks any platform build.
2003-03-12 10:13:58 +00:00
brodsom
b3cce04f16 Add two braces to make it work on mingw 2003-03-11 19:51:07 +00:00
tamlin
96c5d5e8f3 Close Win32 handles at exit. 2003-03-11 05:53:55 +00:00
brodsom
94e8f58ece Put alarm_handler inside HAVE_SETITIMER, is only used when this macro is defined. 2003-03-03 08:37:54 +00:00
brodsom
c7e4ee4ab4 -Comment declared but undefined functions. (found with gcc never defined warnings) 2003-03-01 19:11:57 +00:00
brodsom
7a3b56ef46 Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings) 2003-03-01 17:51:59 +00:00
bellardo
337a77b914 More cleanup after renaming header files with name conflicts. 2003-02-18 16:06:01 +00:00
eku
6776adb23e Added a test for <sys/socket.h> needed in remote/inet.cpp. 2003-02-18 12:38:27 +00:00
brodsom
73c77466b1 Remove multinet and wollongong vms protocols 2003-02-17 19:33:53 +00:00
eku
6bdeb9ef9d Fixed "argument to non-pointer type `int' from NULL" and
"NULL used in arithmetic".
2003-02-14 14:26:05 +00:00
dimitr
f833079b2f CONST -> const 2003-02-13 09:33:26 +00:00
eku
d36d4d0832 Fixed POSIX builds. 2003-02-10 09:26:52 +00:00
aafemt
8c121969c8 Some cleanup 2003-02-10 05:42:22 +00:00
dimitr
6bfbf2676b New config values. 2003-01-15 14:10:07 +00:00
eku
5b8ffd81c2 Removed unused variables. 2002-12-10 11:53:53 +00:00
dimitr
153f31323c More usage of the new config stuff. 2002-12-06 12:34:43 +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
skidder
b592b6f7bf Rollback recent xdr changes to make engine compilable on Linux(and other platforms) again 2002-11-18 16:20:21 +00:00
kkuznetsov
03626b4118 Migrating to OS native XDR if exist <rpc/xdr.h> 2002-11-18 10:16:45 +00:00
eku
a5e9087b7f Moved the definition of NOFILE to a common place. 2002-11-18 07:57:43 +00:00
eku
e7624082a4 Autoconf cleanup:
o added tests for setitimer
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced NO_ITIMER with HAVE_SETITIMER
2002-11-14 07:35:52 +00:00
eku
093c9238b6 Cleanup 2002-11-14 06:48:09 +00:00
eku
b13bede16e Autoconf: check for getpgrp 2002-11-12 13:15:13 +00:00
eku
53a096ea35 Cleanup 2002-11-12 12:16:43 +00:00
kkuznetsov
d5dd3db662 Fix some compile errors 2002-11-10 14:29:00 +00:00
eku
af691e2edc Now you can specify the service name and port of the DB server via configure
--with-service-name     specify inet service name (default=gds_db)
  --with-service-port     specify inet service port (default=3050)

So it's possible to run FB1 and FB2 together on the same machine.
2002-11-06 12:36:07 +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
9342d36baa Arrays that hold filenames must be at least MAXPATHLEN long. 2002-11-04 11:19:21 +00:00
seanleyne
17b68ccb68 Removed obsolete "SUN3_3" port 2002-10-31 05:33:35 +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
dimitr
b882b1e5a4 Win32 classic changes. 2002-10-29 13:24:37 +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
eku
2c32a6e9e8 Removed latestr checkin (private modifications). 2002-10-24 09:13:01 +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
eku
1b4e82a1c7 Found a last occurance of NOINITGROUPS :-( 2002-10-02 09:41:05 +00:00
bellardo
0eaf588b49 renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
skidder
75418eca95 Make engine compileable on Linux again after Erik's signal cleanup 2002-09-24 19:53:31 +00:00
eku
6380cea068 Removed compiler warnings. Fixed more SIG_FPTR issues. Use GNU C to check
format strings against arguments.
2002-09-24 12:57:10 +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
2e37eda099 Moved the (multiple) definition of SIG_FPTR to fb_types.h. 2002-08-26 12:13:23 +00:00
dimitr
bd3f3bfe40 Make sure a length of string being allocated is always initialized. 2002-08-22 11:22:49 +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
eku
8c981da952 The call to ftime is obsoleted by gettimeofday. 2002-08-20 11:49:10 +00:00
skywalker
d89b1a0842 Changes to make fb2 compile super version for linux 2002-07-29 15:37:59 +00:00
dimitr
e759de0b11 Merging changes from fb1. 2002-06-29 08:49:39 +00:00
paul_reeves
73c8c768fe More changes to support building under Linux 2002-06-24 13:59:58 +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
df41820266 More code cleanup of old NCR3000 and M88K ports 2002-02-23 22:15:24 +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
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
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00