robocop
d338f9c373
Style; vars in scope
2003-10-20 10:35:38 +00:00
epocman
8552c104b5
Win32 HKLM and service name change as per recent discussion in fbdevel. Added more complete cleanup of registry keys when 'instreg remove'.
2003-10-12 11:48:33 +00:00
epocman
df60ff7b60
Win32 - Syncing with the recent FB 1.5 branch installation changes.
2003-10-08 09:42:23 +00:00
dimitr
4217ca2c49
Corrected gstat version info output.
2003-10-03 12:34:54 +00:00
brodsom
8dce5790c6
extern cleaning
...
removing underscores in macros
2003-10-03 01:01:40 +00:00
aafemt
76eac2d80d
Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build
2003-10-02 10:17:40 +00:00
robocop
c931a674c2
Cleanup.
...
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +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
arnobrinkman
3e3c789053
Remove IGNORE_NULL_IDX_KEY define
2003-09-17 09:53:47 +00:00
robocop
fe6f929d54
Too trivial change
2003-09-16 08:34:08 +00:00
brodsom
5e1b673b5a
-Although not compiled fix unused warning (Thanks to Claudio)
2003-09-16 08:18:22 +00:00
brodsom
29716469b2
-Add two empty lines at the end.
2003-09-16 08:00:22 +00:00
brodsom
2ef1e00dfd
-Remove msvc unused var warning.
2003-09-15 16:31:21 +00:00
brodsom
5ebd7c192a
no message
2003-09-15 16:23:23 +00:00
brodsom
735c961ae6
Remove msvc unused variable warning.
2003-09-15 14:49:57 +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
5b5321050d
Added credits to NBACKUP usage info
2003-09-15 10:14:22 +00:00
epocman
62f7a69575
Win32 instreg / instsvc now returns FINI_ERROR instead of FINI_OK when usage() function is called. This helps external automated tools to detect mistakes in parameters.
2003-09-13 13:36:41 +00:00
brodsom
08ef0025ea
-Remove GDS_VAL and GDS_REF
2003-09-12 16:49:38 +00:00
brodsom
7c7c2758dc
BOOLEAN cleaning
2003-09-10 17:52:12 +00:00
epocman
8f13798cdf
When run as a specific user, stopping engine service stops guardian, like with FB 1.0x LocalSystem.
2003-09-10 13:26:33 +00:00
skidder
aeea27cf1d
Fix engine breakage on Win32 caused by my commits.
2003-09-09 16:47:26 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00
brodsom
8db51e6eba
Remove unneeded extern C
2003-09-08 01:51:41 +00:00
epocman
bd0e11a7e4
Win32 - 'instsvc install -guardian -login user' now also sets the
...
Guardian to run as 'user'.
This is achieved by giving appropriate security rights to 'user'
on the firebird service object (instsvc utility) and fixing some
wrong security flags in the Guardian code itself.
2003-09-07 19:11:59 +00:00
epocman
e1a4fa023f
Never sets NT services as 'Interactive'. Fights 'Shatter'-kind attacks.
...
http://www.idefense.com/idpapers/Shatter_Redux.pdf
This blocks 'local' protocol from working, but is not an issue as new XNET will replace it for FB > 1.5.
2003-09-06 10:55:56 +00:00
brodsom
2ced467c50
Move stats.epp to utilities
2003-09-04 13:47:49 +00:00
dimitr
58e25b9e8f
Fixed gstat crach reported by Phil Shrimpton.
2003-09-03 07:39:03 +00:00
brodsom
8624a7c209
-Use NULL instead 0 for null pointers
...
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
epocman
61b470557d
OEM/Ansi conversions, command-line password, other minor updates.
2003-08-30 13:54:56 +00:00
brodsom
e2a0b36dbf
-Remove GDS_VAL and GDS_REF
2003-08-30 01:35:29 +00:00
epocman
c2e97bdd1c
Merged recent FB 1.5 instsvc / instreg changes to head branch.
2003-08-29 17:25:36 +00:00
brodsom
70c6a819ee
-Remove BOOLEAN, TRUE and FALSE
2003-08-29 00:37:25 +00:00
brodsom
3b3302735b
Remove BOOLEAN, TRUE and FALSE macros
2003-08-26 18:46:31 +00:00
brodsom
f16bc0a6fc
Replace EXIT macro with dba_exit inline function
2003-08-26 18:43:29 +00:00
brodsom
3e9589f22e
Replace EXIT macro with dba_full_exit inline function
2003-08-26 18:43:02 +00:00
brodsom
28af2fc174
Replace EXIT macro with gsec_exit inline function
2003-08-26 18:40:13 +00:00
brodsom
c610785e97
Remove BOOLEAN, TRUE and FALSE macros
2003-08-26 10:42:46 +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
81a9f3cde6
Remove BOOLEAN, TRUE and FALSE macros
2003-08-26 06:56:42 +00:00
brodsom
fdd617d49f
Remove BOOLEAN, TRUE and FALSE macros
...
Some code formatting
2003-08-26 06:52:05 +00:00
eku
73137f9d60
Since all supported platforms provide the function strerror(), get rid of
...
sys_errlist[]. It's not portable anyway.
2003-08-25 07:26:39 +00:00
brodsom
37b821fc45
Replace LINE__IS_INT with LINEFORMAT
2003-08-21 16:20:06 +00:00
brodsom
e4f47f23d5
Replace LINE__IS_INT with LINEFORMAT
2003-08-21 15:40:59 +00:00
brodsom
9dfe58e60e
Replace __LINE__IS_INT with LINEFORMAT and remove a few ifdefs (thanks to Claudio's question)
2003-08-20 09:35:00 +00:00
eku
4ff4800a4a
Use autoconf to do it right :-)
2003-08-12 10:06:14 +00:00
robocop
e08864ed8e
kill warning
2003-08-12 10:01:21 +00:00
skidder
f3348c4502
Apply FreeBSD patches by Tomas Skoda
2003-08-11 11:21:21 +00:00
brodsom
597f2a396a
-Fix signed/unsigned comparison
2003-08-10 00:48:49 +00:00
brodsom
0b8c8dc735
-Fix unused warning
2003-08-10 00:41:39 +00:00
brodsom
89480fdbda
-Fix format warning
...
-Fix unused warning
2003-08-10 00:41:14 +00:00
brodsom
e4c67fce8e
-Fix comparison is always false warning
2003-08-10 00:40:42 +00:00
brodsom
c01f4f221d
-Fix not defined warning
2003-08-09 22:32:39 +00:00
brodsom
2c4e6d5ac6
Patch msvc6 after Nickolay changes.
...
INVALID_SET_FILE_POINTER is not defined in msvc6
2003-08-07 14:00:32 +00:00
skidder
4b36922e60
Make NBACKUP tool work on Windows. Seems to work.
2003-08-06 20:01:02 +00:00
skidder
143f8d2443
Implementation of fast physical incremental backup
2003-08-06 16:30:49 +00:00
brodsom
499337fda5
Split utilities dir
2003-07-15 02:43:36 +00:00
brodsom
bcbea94f99
Move security.fdb related scripts to misc
2003-07-08 15:07:48 +00:00
alexpeshkoff
423f5b451f
reject -l switch in any mode besides "install"
2003-06-19 13:47:05 +00:00
alexpeshkoff
2cddcf4ba6
security fix - added -login switch to instsvc
2003-06-11 12:00:17 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
dimitr
9125440512
Fixed problem with start/stop commands of instsvc + some cleanup.
2003-04-15 11:15:24 +00:00
dimitr
c3fe3e8c5e
no message
2003-04-13 08:44:20 +00:00
aafemt
c6fa204463
STATUS -> ISC_STATUS
2003-04-10 10:42:56 +00:00
brodsom
9225ff0235
Patch for delete void* not defined (Claudio's patch)
2003-04-09 12:45:21 +00:00
brodsom
8e4aba74b7
Utilities warning fixes
2003-04-08 10:37:19 +00:00
brodsom
4d6e757d1e
Ifdef function declaration
2003-04-03 09:19:22 +00:00
brodsom
927e886d81
Correct formats
2003-04-03 01:51:03 +00:00
brodsom
e9528848f9
Correct formats
2003-04-01 11:35:44 +00:00
eku
ceb9d33c9d
Changed the default extensions for databases from .gdb to .fdb
...
The Windows and OS X builds have not been updated yet.
2003-03-17 12:06:48 +00:00
eku
9ec2be38f4
Always use gds__prefix to find database system files.
2003-03-10 07:02:20 +00:00
brodsom
bcc4ea8f20
Use C++ cast.
2003-03-06 15:16:18 +00:00
brodsom
9432717863
Patch minGW errors and some warnings
2003-03-05 14:38:48 +00:00
fsg
e0dcb77416
Fixed some really old typos.
...
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
brodsom
699d81f81b
Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings)
2003-03-01 17:44:34 +00:00
brodsom
17632bddca
Remove warnings
2003-02-20 00:10:25 +00:00
eku
796a4e4e31
Fixed more issues with pwd.h.
2003-02-19 06:14:39 +00:00
brodsom
14ce7a705b
Remove W4 warnings (remains from ODS 5 and 7)
2003-02-18 11:38:40 +00:00
brodsom
a2e1f7e865
patch format
2003-02-16 11:17:36 +00:00
brodsom
523b2d1165
Remove apollo and mpe/xl remains
2003-02-15 12:51:16 +00:00
brodsom
6446f00e2f
Remove csv and pipe directory and defines
2003-02-15 00:55:10 +00:00
brodsom
f0b7d4bd13
Change jrd/time.h and jrd/pwd.h to jrd/jrd_time.h and jrd/jrd_pwd.h
2003-02-14 02:14:41 +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
7293a633e0
Fixed exception handling.
2003-02-13 13:09:58 +00:00
dimitr
f833079b2f
CONST -> const
2003-02-13 09:33:26 +00:00
brodsom
5e63f2cecc
Remove GUI_TOOLS define
2003-02-11 20:17:56 +00:00
brodsom
56e1db4070
Remove V2 dump (not used)
2003-02-11 15:32:20 +00:00
brodsom
05f9e8bda4
Remove V3 lock/print
2003-02-11 15:29:29 +00:00
brodsom
8769432b9b
Remove ODS_4, gds_version3 defines. (IB V2)
2003-02-11 14:42:24 +00:00
eku
a7f18b2e31
Removed "register" variables from the source code. It's up to the compiler
...
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
dimitr
96e5adf086
Cleanup.
2003-02-10 12:25:00 +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
brodsom
bfe648cbdf
Remove unclosed comment
2003-02-09 11:21:21 +00:00
brodsom
d81b3412e1
Remove unused var
2003-02-07 09:33:05 +00:00
brodsom
84c7a47345
Correct broken includes
2003-02-07 03:43:26 +00:00
dimitr
b4dbef9633
Renamed isc4.gdb to security.gdb
2003-02-05 15:46:15 +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
22d2ed8879
Fixed wrong memory management that caused the server to crash.
2003-01-31 12:22:55 +00:00
dimitr
4cdced566f
A bit changed installation of the services.
2003-01-28 16:03:32 +00:00