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

364 Commits

Author SHA1 Message Date
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
dadefcb479 Binary things are UCHAR. Let's try to fix them from the innermost layer to the outermost layer until we can fix the public interfaces. 2008-03-10 09:31:40 +00:00
dimitr
d597154a4b 1) Added timeout value to the shutdown API call.
2) Fixed the slow fbembed detach noticed by Claudio and Vlad.
3) Cleanup.
2008-03-04 13:27:02 +00:00
alexpeshkoff
7dacbbbd74 Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
Related cleanup.
2008-03-03 17:47:09 +00:00
dimitr
5ca270c096 1) Cleanup SERVER_SHUTDOWN.
2) Make the engine shutdown asynchronous.
2008-02-29 12:47:20 +00:00
robocop
95e59f72b5 Undo the check for 255 bytes in JRD_num_attachments (let the callers handle long paths).
Fix some memory leaks (at least one of them signaled by myself years ago) when calling JRD_num_attachments.
Introduce an enumeration for the "flag" parameter in the same function.
2008-02-21 04:24:42 +00:00
asfernandes
1ce834c8dc Misc 2008-02-14 01:31:15 +00:00
dimitr
61b19f7c07 Misc. 2008-02-13 16:52:29 +00:00
alexpeshkoff
dbf65528b8 Fixed CORE-1726: isc_service_start failed, use InitHolder for SecurityDatabase in services too. 2008-02-13 13:10:23 +00:00
alexpeshkoff
fad180bed8 test for out-of-memory condition has no sense here any more 2008-02-11 09:59:35 +00:00
alexpeshkoff
a9155f7e51 avoid gds__alloc/free in services 2008-02-11 09:55:16 +00:00
alexpeshkoff
134bc0ed7b Fixed CORE-1726: isc_service_start failed 2008-02-08 16:57:00 +00:00
alexpeshkoff
f6416546e8 removed old comments: they are wrong now 2008-02-04 12:01:26 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00
dimitr
ed3817f6b6 Sigh, we have to release the dbb when doing authentication. 2008-01-26 17:33:57 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
6666fd1e4a The merge continued. 2008-01-16 09:48:41 +00:00
alexpeshkoff
467b4d7b49 Removed accidentially added scope in switch 2008-01-09 09:24:58 +00:00
alexpeshkoff
69030e446e Fixed CORE-1679: Gagbage bytes in isc_service_query() output 2008-01-09 09:09:24 +00:00
alexpeshkoff
ea09e47c86 Make SS kill itself on unix platforms when doing shutdown.
It helps with correct semaphores cleanup, important for some platforms.
2008-01-04 17:54:40 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
alexpeshkoff
a80dd39b11 Fixed CORE-1593: Full domain user name can be longer than 31 char(for trusted authentication) 2007-11-15 12:48:24 +00:00
asfernandes
4161dc725c Misc 2007-10-10 02:06:20 +00:00
alexpeshkoff
2366a0d64c Fixed use of isc_spb_dbname in isc_action_svc_display_user 2007-10-08 13:35:54 +00:00
robocop
3a7d93f658 Misc tweaks with Firebird::string. 2007-08-26 09:53:08 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
alexpeshkoff
f3a8b2a9e5 Fixed CORE-1302: Races during service startup 2007-06-05 07:14:01 +00:00
alexpeshkoff
97336639d7 Fixes to gsec-related part of services manager 2007-04-27 15:07:42 +00:00
alexpeshkoff
3a772eaf58 Fixed CORE-1232 - wrong behaviour of services manager during backup/restore operations 2007-04-26 14:59:46 +00:00
alexpeshkoff
e2ab4df819 Fixed CORE-787 - disabled non-SYSDBA use of some parts of API 2007-04-19 07:30:00 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
alexpeshkoff
60e06d5c99 Fixes for CORE-1148 and CORE-1149 2007-03-02 09:04:30 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
alexpeshkoff
58c1e0e687 misc 2006-12-10 13:43:31 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
asfernandes
020a4f01a1 Misc 2006-07-28 02:17:11 +00:00
asfernandes
ccbaf55533 Misc 2006-07-28 01:44:36 +00:00
alexpeshkoff
028ab3c597 fixed AV related with SVC_TRMNTR in services 2006-07-27 14:24:09 +00:00
robocop
db5f743685 Misc. 2006-06-16 08:13:20 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
hvlad
f94b8bd641 Merge B1_5_Remote_LazyPort branch into HEAD 2006-05-01 22:23:31 +00:00
alexpeshkoff
42bee9d066 make service output look the same for both CS and SS 2006-04-06 13:30:49 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
robocop
97122ee389 Replace jrd_time.h by our timestamp.h, but I left timestamp.h's #includes commented where it *seemed* not necessary. 2006-02-03 08:39:36 +00:00
alexpeshkoff
0f41073304 fixed server properties info using ibExpert 2005-12-19 16:24:55 +00:00
alexpeshkoff
a09a871b83 report error when user requested unknown info 2005-12-11 13:42:50 +00:00
dimitr
2e5993a639 Fixed regressions with SAPI. 2005-12-10 10:15:56 +00:00
robocop
97f9f7b4ca Misc. 2005-12-09 05:00:32 +00:00
alexpeshkoff
db126f977f fixed problem with isc_spb_res_access_mode 2005-12-08 15:33:03 +00:00
dimitr
e76dfb0be7 Restored the old code as Alex has already fixed the issue. 2005-12-04 12:30:34 +00:00
dimitr
23f3cc8656 Fixed restore process. 2005-12-03 10:22:58 +00:00
hvlad
c0e41346ae Allocate strings members of Service from the same pool as Service itself 2005-12-02 22:19:57 +00:00
alexpeshkoff
f5871b1929 fixed problems, caused by my previous commit 2005-12-02 16:54:04 +00:00
alexpeshkoff
ac762cc3b6 removed unneeded assertion 2005-12-01 17:39:12 +00:00
robocop
63720ed37d Finish incomplete change and comment an assertion that doesn't compile with the new code. 2005-12-01 05:34:18 +00:00
alexpeshkoff
48b2e0baaf use ClumpletReader in SVC_start 2005-11-30 17:32:11 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
alexpeshkoff
03c46a13d4 fixed work with embedded service manager 2005-11-20 15:40:54 +00:00
aafemt
d774e43c03 Fix MinGW SS build 2005-10-22 12:35:04 +00:00
alexpeshkoff
46dd9a90d6 1. reanimated -database switch in gsec\n 2. isc_file.cpp should now compile at AIX\n 3.Use PathName to store database name in jrd.cpp during attach/create 2005-09-30 16:16:39 +00:00
alexpeshkoff
5274a7361c Security fix - temporary disable logins for clients, making too many wrong attempts to login 2005-08-23 06:52:55 +00:00
kkuznetsov
36402e1862 This patch from Dimitry Sibiryakov disables services at boot time.
This let me compile on Solaris
2005-08-18 12:33:48 +00:00
dimitr
7a343b8162 Moved the Services API into the engine on threadable platforms. 2005-08-10 14:47:42 +00:00
dimitr
0ce1d52f3e Slightly changed (mostly cleaned up and fixed) the SS shutdown mechanics. 2005-06-24 11:14:51 +00:00
asfernandes
8265bcb0fd Fbembed don't use security 2005-06-22 22:26:59 +00:00
alexpeshkoff
808422abaf fixed windows build 2005-04-14 17:06:14 +00:00
alexpeshkoff
504ec492ab Shutdown SS without SYSDBA password 2005-04-11 15:33:18 +00:00
hvlad
0fa5783921 Cleanup 2005-04-09 18:48:18 +00:00
dimitr
73e7a63d17 Apply forgotten patch from v1.5.x which allows "gbak -se" to work again. 2005-03-01 17:53:56 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
kkuznetsov
c08a09b65f More cleaning 2005-02-17 13:07:13 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
9fcf4ab269 Totally misc. 2004-11-17 08:57:59 +00:00
robocop
bc845125c7 Misc. 2004-11-16 08:52:29 +00:00
robocop
479daede8f Misc. 2004-11-10 04:35:58 +00:00
hvlad
5fd93b382d Fix wrong thread priority 2004-11-08 09:38:30 +00:00
alexpeshkoff
3bd02ee852 security fix
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
    In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
robocop
20b38f1aad Got rid of spurious cast. 2004-09-26 11:23:32 +00:00
brodsom
728c927550 Hack to fix mingw build (due to a mingw bug). 2004-07-02 10:47:03 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00
brodsom
68cb86b274 - Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
36d6d40469 Macro cleaning 2004-05-17 10:22:34 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
f17e886c46 bad if 2004-05-13 19:47:30 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
brodsom
e60d499362 -Replace define with const 2004-05-06 00:18:09 +00:00
brodsom
80b424e346 -Replace define with const
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
brodsom
8f7fea4b40 Fix warnings 2004-05-04 17:51:27 +00:00
brodsom
60d9d085a0 Macro cleaning 2004-05-03 21:43:56 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
dimitr
4f49695693 Fixed memory leak in the Services API.
Explicitly mark information services (those launched not from SVC_start) as finished.
2004-03-24 19:48:57 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +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
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
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
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
aafemt
6fc77c3901 Fix couple of warnings 2004-02-05 11:17:10 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
dimitr
45636b8c6f Removed handle leaks in the service manager. 2004-01-07 10:23:46 +00:00
robocop
06a4df3708 A requiem for JOURNAL and WAL.
Instructions in the list.
2004-01-06 10:33:18 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
skidder
4e30dadd8b Enable gfix/gstat services API on classic builds. Rollback Blas' changes in this area 2003-12-14 04:44:58 +00:00
dimitr
dc91c7888a Removed v1.5 stub. 2003-12-12 17:26:48 +00:00
alexpeshkoff
3d88f936ec fixed SS shutdown in case on internal deadlock 2003-12-06 09:39:17 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
robocop
9fafc348bf const correctness
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
alexpeshkoff
d40df5bef2 Fixed serious bug in CS's services API
Second, third, etc attempt to start service executed exactly
what was done by the first one.
2003-11-24 18:04:36 +00:00
brodsom
abe35ef6fe -Remove unneeded setjmp header 2003-11-18 12:39:12 +00:00
robocop
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
451460c167 -Removing some unneeded headers (WIN_NT) or explaining why are needed 2003-11-16 12:23:24 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +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
89e8f89f86 Extern "C" cleaning 2003-11-06 03:03:36 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +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
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +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
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
brodsom
7944736211 Correction 2003-09-19 03:37:24 +00:00
brodsom
73ec1bf3ea Correction 2003-09-19 00:36:12 +00:00
brodsom
9bda9d0e2a Macro cleaning
Variable type change (Thanks to Claudio)
2003-09-18 21:58:58 +00:00
brodsom
bdac17190c Clean a bit services interface
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +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
robocop
c82062a50a Kill warning 2003-08-31 12:55:33 +00:00
brodsom
6a2ef35fda -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
dimitr
699e00204f Added support for "-r" and "-t" GSTAT switches to the Services API. Thanks to Vlad Horsun. 2003-08-26 07:23:58 +00:00
brodsom
2267a21d45 -Fix format warning
-Fix unused warning
-Fix signed unsigned comparison warning
2003-08-10 11:41:23 +00:00
brodsom
499337fda5 Split utilities dir 2003-07-15 02:43:36 +00:00
dimitr
6451c99825 Removed old config stuff remains.
Temporary disallowed config management via Services API.
2003-07-04 12:12:54 +00:00
dimitr
5c13dbe98d Explicitly assign normal priority to the service tasks.
Avoid lockups between GC thread, cache writer and the service manager.
2003-06-05 17:15:00 +00:00
dimitr
8c89b7a941 Fixed synchronization issues in the service manager. 2003-05-24 07:46:27 +00:00
dimitr
df79570795 Added comment. 2003-05-07 07:22:42 +00:00
dimitr
953c2d7ab7 Correction. 2003-05-05 08:48:35 +00:00
dimitr
f4a921cc64 1. Disabled not working services in win32 CS (until v1.6)
2. Fixed SEGV in the service manager
2003-05-05 08:40:35 +00:00
dimitr
7255be3a74 Cleanup 2003-05-05 07:06:06 +00:00
dimitr
4fcf82f147 Rehabilitation day. Yet another bugfix for my old mistakes. Arrrgh!!! 2003-04-28 16:44:38 +00:00
skidder
228ee3e98f Make database stats Service work for Posix CS builds 2003-04-13 19:52:38 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
alexpeshkoff
86e6b77b50 1. Fixed potential buffer overflow in gds__prefix* family of functions.
2. Changed second parameter declaration to be const.
2003-04-06 11:40:29 +00:00
brodsom
82baa67399 - Ifdef unused or conditioned code
- Remove intermediate macro
2003-04-03 10:09:59 +00:00
brodsom
5dd9c54ae1 - Avoid some not defined/not used warnings. 2003-04-02 14:31:37 +00:00
arnobrinkman
2f62030d2f bugfix: A good bugfix with the database statistics problem which also exists in FB1.0. Thanks to Claudio Valderrama which pointed to problems in the previous commited fix. 2003-03-30 16:55:59 +00:00
dimitr
c18c6f17bd Allowed Services API for win32 CS (gbak/gfix only). gstat/gsec are not supported yet. 2003-03-29 15:49:38 +00:00
arnobrinkman
530bf9060b bugfix on service API, reported by Martijn Tonies in fb-devel.
This bug exists already since FB1.0.
Due bad validate-checking on returned value this even causes a server-crash !!!!
2003-03-20 22:43:40 +00:00
skidder
5813d31b89 Enable Services API on all platforms 2003-03-09 21:13:24 +00:00
skidder
4489b3013d Enable Services API on all platforms 2003-03-09 21:08:33 +00:00
brodsom
4ae3719544 Remove gcc warning partially bracketed initializer. 2003-03-02 01:03:34 +00:00
alexpeshkoff
a12435f701 Fixed macro redefinition warnings - changed order of include files 2003-03-01 16:10:43 +00:00
brodsom
01681a01dc Move function definition from header to cpp and remove inline. 2003-02-16 00:20:30 +00:00
bellardo
08a1d7447f Renamed two header files that conflicted with Darwin (and presumably other *nix ) system headers: pwd.h and math.h 2003-02-13 22:38:04 +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
dimitr
32ef458dcf Damn, my own typo caused another one. The extension should be "fdb". 2003-02-10 11:48:25 +00:00
eku
1a9a258234 Renamed isc4.gdb to security.gdb (POSIX builds) 2003-02-10 11:01:23 +00:00
dimitr
e7289b02b2 1. Re-designed PWD interface.
2. Implemented cached isc4 connection.
3. Cleanup.
2003-02-03 13:34:16 +00:00
dimitr
f91445e207 Cleanup by Dimitry Sibiryakov. 2003-01-20 13:51:35 +00:00
skidder
ba5e11b15c Integrate new memory manager into the engine 2003-01-16 17:47:10 +00:00
alexpeshkoff
80f2592983 1. Don't include internals of struct why_hndl where it is nit required.
2. CONST fixup in why.cpp & flu.cpp.
2003-01-03 12:49:59 +00:00
alexpeshkoff
dbfef25568 Rename all links to why.cpp handle to struct why_hndl * (or FRBRD *)
Fixed bug #625899 - bugcheck 291
2002-12-16 16:25:10 +00:00
dimitr
35ebc38c46 no message 2002-12-11 09:41: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
b4a2cf36ae Compatibility mode for my previous fix. 2002-11-23 12:19:56 +00:00
dimitr
65bfa31081 The type of service invokation never must be specified by the client tool. It should be defined by the server only. 2002-11-23 11:39:43 +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
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
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
tamlin
fb3cfa85da const correctness etc 2002-10-29 16:27:47 +00:00
dimitr
871fafeab2 Cleanup. 2002-10-29 13:46:48 +00:00
seanleyne
05a126730b Completed removal of obsolete "IMP" port 2002-10-28 03:52:09 +00:00
seanleyne
829d6d32d5 Completed removal of obsolete "DELTA" port 2002-10-28 03:47:47 +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
dimitr
c5da10058f Made the codebase ready for the win32 classic builds. 2002-10-12 11:07:04 +00:00
eku
8b6ac67c92 Service API:
o fixed SVC_TRMNTR parsing
 o fixed -svc/-svc_thd argument passing
 o re-enabled API on CS (SINIX-Z)
2002-10-07 13:33:45 +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
eku
0189c970f0 Fixed compiler warnings. 2002-09-26 09:26:40 +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
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
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
eku
9d76c78d4c Fixed a typo that was introduced with the strcasecmp/stricmp changes. 2002-09-04 13:34:17 +00:00