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

53 Commits

Author SHA1 Message Date
paulbeach
5790eae079 Fix UNIX2003 symbol issue with kinterbasdb and SuperServer.
Make sure that sem is used properly depening on MacOSX 10.4 or 10.5
Correct the header file in config_root.cpp to pull in MacTypes.h properly
2008-02-29 15:23:17 +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
8ef0e6aba7 The merge continued. 2008-01-16 06:24:06 +00:00
robocop
3c411cdade No need to use the class name in a member function declaration inside the class. 2008-01-05 08:19:44 +00:00
asfernandes
0ee85c7525 Misc 2007-12-28 00:14:00 +00:00
paulbeach
8f06756d06 Minor Mods MacOS 2007-12-27 13:47:38 +00:00
paulbeach
4a2f1647fe Apply MacOS changes to HEAD 2007-12-27 10:55:58 +00:00
robocop
11afbba54d I don't see the point in using the class name to qualify a method declaration inside the class definition. 2007-12-22 09:37:27 +00:00
asfernandes
c27c33d750 Misc 2007-12-22 00:53:39 +00:00
paulbeach
f0e34ffc83 Apply MacOS changes to HEAD 2007-12-19 14:35:52 +00:00
alexpeshkoff
62dde2b68f misc 2007-12-07 12:50:43 +00:00
paulbeach
d1a0e95271 MacOS 10.5 (Leopard) updates 2007-12-07 12:19:37 +00:00
alexpeshkoff
b2ce2a8697 Fixed wrong return - thanks to Adriano 2007-11-19 10:30:59 +00:00
asfernandes
702ea9585e Misc 2007-11-17 17:22:41 +00:00
robocop
1445f9b685 Style. I expect the code is logically equivalent to the original. 2007-11-17 10:16:04 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
alexpeshkoff
79d4b002f9 Fixed posix build 2007-11-15 11:31:56 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
alexpeshkoff
63bd11815a Removed buggy implementation of semaphore on solaris in favour of standard one 2007-08-20 13:24:59 +00:00
robocop
3bfe45e966 Fix wrong indentation. 2007-06-08 08:40:23 +00:00
asfernandes
ae3c20aa55 Misc 2007-06-07 03:35:04 +00:00
alexpeshkoff
4889acba81 front-ported changes required for Solaris and Darwin 2007-06-06 09:03:33 +00:00
alexpeshkoff
77af3792c4 Null implementation for ST case 2007-06-05 07:11:39 +00:00
alexpeshkoff
4980e64420 Fix CORE-988
class Semaphore now can work with broken versions of glibc (sem_timedwait())
2006-11-12 13:58:13 +00:00
asfernandes
a597dc2263 Correction for posix build 2006-04-16 22:01:41 +00:00
kkuznetsov
1dcef0d3af Solaris error correction 2006-04-16 19:54:26 +00:00
robocop
86f990dd92 Misc. 2006-04-13 03:59:58 +00:00
kkuznetsov
2f1d73b0e2 Correct messages from Semaphore exceptions 2006-04-12 11:54:44 +00:00
kkuznetsov
6b86285492 Rewiev semaphore on Solaris platform:
add some fixes and loop on EINTR
2006-04-12 09:25:56 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
alexpeshkoff
ca70704563 fixed gcc warning(s) 2006-01-16 15:39:55 +00:00
alexpeshkoff
35d800e0be Retry when system call is interrupted 2005-10-28 15:25:15 +00:00
kkuznetsov
b4b0b9d683 Comment correction thanks to Claudio 2005-08-19 06:04:10 +00:00
kkuznetsov
ef47186fab Some comments added 2005-08-18 09:33:25 +00:00
kkuznetsov
f922e000b7 Comments cleanup 2005-02-17 12:42:49 +00:00
robocop
4012106884 Misc. 2004-12-25 09:44:03 +00:00
kkuznetsov
af0ab61ae2 Some things is moved from R1.5.1.
Starting separating of defines accoding
SOLARIS -- any threading modes
SOLARIS_MT - solaris with Sun threading model
current nothing - solaris with posix threading model
2004-12-24 09:35:48 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
0c1c5428f0 Misc: extra semicolons do not help. :-) 2004-11-07 10:52:36 +00:00
skidder
32baa87086 Change license for source files which I wrote 2004-06-30 01:26:40 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
kkuznetsov
44242a72ce Fixed a couple of compile errors on Solaris x86 2004-05-24 11:23:41 +00:00
robocop
1953841ae4 Without being able to compile it, I fixed the new SOLARIS code in semaphore.h that:
- didn't have any rational indentation but random positions and a combination of blanks and tabs
- instead of testing errno, assigned a value to it (= instead of ==)
- has some strange emoty if(); only put a comment here.
People shouldn't post code to CVS without at least reviewing visually what they wrote.
2004-05-23 06:07:46 +00:00
kkuznetsov
e2f56c62e3 Added semaphore implementation used conditional varyable and mutex, becouse of no sem_timedwait existans.
Ugly, errorable and untested.
2004-05-21 14:14:34 +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
skidder
e8a3fd7ed1 Fix a couple errors I introduced in previous commit. Spotted by Claudio 2004-03-11 05:30: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
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +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