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

7 Commits

Author SHA1 Message Date
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
0a9c97a255 1.- Style.
2.- Cleanup.
3.- Mark a disastrous condition in Stream::allocSegment in DEBUG mode at least so it can be detected: potentially negative argument to
new char[<number>] if the caller of the function doesn't do what's expected by this function.
4.- Now that the weed JString was eradicated, rename Stream::getJString to getFBString and put an assertion to verify the initial assumption (in the worst case, it could be a buffer overrun).
5.- Fix a deallocation bug (probable heap corruption) in Stream::truncate because delete[] should be used instead of plain delete.

Generally speaking, the code inherited from Vulcan is so weak that expects the caller to know the internal logic of the callee to do the right thing to avoid crashing the callee. This is a general problem with the files in the "config" dir.
2008-04-29 11:23:06 +00:00
alexpeshkoff
c0a472d65e 1. Replaced JString (and some plain char[] buffers) with Firebird::string.
2. Make memory allocations look (and wrok) in current firebird style.
3. Fixed vararg usage problem on amd64/linux in AdminException.
2008-04-24 15:49:43 +00:00
robocop
60802a9d77 Fix the most obvioius problems:
- style (few fixes only)
- constness
- total lack of encapsulation (all data members exposed in the interface).
2008-04-20 10:40:58 +00:00
robocop
5d12ca3dca Constness. 2008-04-19 09:40:19 +00:00
aafemt
8b050f5d80 Warnings 2005-06-21 10:26:56 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00