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

32 Commits

Author SHA1 Message Date
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
robocop
1ea2f4b014 Misc. 2007-10-02 10:41:19 +00:00
asfernandes
f7e8bd1ff0 Misc 2007-10-02 01:53:12 +00:00
alexpeshkoff
fc89b23b7f added public method to make strings in vector permanent to StringsBuffer 2007-09-26 17:50:31 +00:00
alexpeshkoff
a24d42d2be Always initialize required members of status_exception 2006-07-27 14:17:02 +00:00
alexpeshkoff
7db6b515f1 fixed bug, reported by Adriano privately 2006-05-23 13:03:34 +00:00
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +00:00
asfernandes
e4275e8fab Do not #include <typeinfo> 2006-05-20 01:10:40 +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
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
alexpeshkoff
baa8ede6a8 better support for OS error code in system_call_failed 2006-03-15 17:29:11 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
6dee6d3079 avoid vararg constructors in status_exception 2006-01-07 16:55:40 +00:00
robocop
59a525a87b Complete Alex fix. 2006-01-07 00:34:42 +00:00
alexpeshkoff
1ecaaa049e fixed "invalid database handle" error 2006-01-06 11:21:57 +00:00
robocop
75ddccb613 Misc. 2005-12-25 04:01:49 +00:00
robocop
f85e3e2369 Totally misc. 2004-11-16 05:03:43 +00:00
skidder
dde4d7b557 Commit change adding method used by ClumpletReader/ClumpletWriter 2004-11-11 21:46:25 +00:00
robocop
373b5e27de Fixed a bug in fatal_exception's constructor that causes fill_status to write garbage in the status vector.
Overload what() for the same class. It helps gpre to quit on failures (gpre changes still not posted).
2004-10-07 09:27:34 +00:00
robocop
ed17cfafbf Style:
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
4eefd6d63e Totally misc 2004-09-24 06:40:13 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +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
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
eku
8985d4672e Fixed compilation on systems without snprintf 2004-03-02 08:42:11 +00:00
alexpeshkoff
d261af4111 don't start variables names with underscore - _syscall caused problems with MSVC6 2004-03-01 16:50:26 +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
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
brodsom
9d2e89e69f Warning control from autoconfig_msvc.h 2003-02-17 13:28:17 +00:00
alexpeshkoff
81b3d5593e Added 2 new exceptions
Cleanup
2002-11-11 18:06:01 +00:00
bellardo
e323453f5e File to hold our custom exception class implementation. 2002-04-04 05:33:01 +00:00