Commit Graph

5629 Commits

Author SHA1 Message Date
Kurt Zeilenga
d0991d97fb const'ify and remove lint 2001-12-19 21:22:04 +00:00
Kurt Zeilenga
608de2fd65 Don't const pointers to structures. 2001-12-19 21:20:46 +00:00
Kurt Zeilenga
2a24264098 Remove lint 2001-12-19 21:19:41 +00:00
Kurt Zeilenga
10e2893d2a Minor adjustments... no rlookups by default, rm maxpathlen 2001-12-19 01:55:51 +00:00
Howard Chu
8efc35ed53 from jon@symas.com - sync with portable.h.in 1.191 2001-12-19 00:38:42 +00:00
Kurt Zeilenga
6808cd668c Add mkstemp() detection 2001-12-18 23:44:06 +00:00
Howard Chu
dfba82c441 minor cleanup from jon@symas.com 2001-12-18 05:17:06 +00:00
Howard Chu
773b3aff16 more cleanup from jon@symas.com 2001-12-18 04:52:55 +00:00
Howard Chu
7c8c5213b1 BDB_MULTI still needs the dupsort function. 2001-12-18 04:41:40 +00:00
Howard Chu
fff5fc14ec from jon@symas.com - minor cleanup 2001-12-18 04:02:17 +00:00
Howard Chu
6159dfbe01 Just use mkstemp unconditionally; liblutil will fill in if the system doesn't. 2001-12-18 03:04:32 +00:00
Howard Chu
3d4c9a7284 Fix typo in previous commit 2001-12-18 02:55:38 +00:00
Howard Chu
d829c02f0b Add checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
HAVE_MKTEMP macro in addition to HAVE_MKSTEMP
2001-12-18 02:54:49 +00:00
Howard Chu
3bdbaf5487 Emulate mkstemp() using mktemp() if mkstemp() is not found by configure 2001-12-18 02:48:20 +00:00
Kurt Zeilenga
ca975216b8 Regenerate configure and fix AC header inclusion 2001-12-18 02:25:21 +00:00
Kurt Zeilenga
ff723903c5 Some index clarifications 2001-12-18 02:24:09 +00:00
Howard Chu
276ed0bbae Move Windows sleep macro from acconfig.h to ac/unistd.h 2001-12-18 02:03:23 +00:00
Kurt Zeilenga
c1a257a83f stdlib.h should be included as <ac/stdlib.h> 2001-12-18 01:24:31 +00:00
Kurt Zeilenga
557fd1b3c7 Regenerate at hyc's request 2001-12-18 01:09:00 +00:00
Howard Chu
0b22897f37 Minor cleanup 2001-12-18 00:29:43 +00:00
Howard Chu
b917625a85 Revert previous commit. 2001-12-18 00:20:58 +00:00
Howard Chu
6456e5f559 from jon@symas.com - misc cleanup 2001-12-18 00:16:15 +00:00
Kurt Zeilenga
943800a534 We "understand" localhost to be same as the local hostname as
returned by gethostname().
2001-12-17 23:56:16 +00:00
Howard Chu
3bd8946ca0 from jon@symas.com - minor cleanup 2001-12-17 22:48:29 +00:00
Howard Chu
923cdcf3c5 fix from jon@symas.com - missing arguments to Debug/LDAP_LOG 2001-12-17 22:47:36 +00:00
Howard Chu
8ad557e4ec fix from jon@symas.com - inet_ntoa on uninitialized sockaddr 2001-12-17 22:46:59 +00:00
Howard Chu
3545f082af fix from jon@symas.com - don't free uninitialized bv_val 2001-12-17 22:46:08 +00:00
Howard Chu
e5eb270e6c from jon@symas.com - misc Windows cleanup 2001-12-17 22:42:55 +00:00
Howard Chu
c37fa6d165 from jon@symas.com - misc MSVC cleanup 2001-12-17 22:40:10 +00:00
Howard Chu
8119f8e922 from jon@symas.com - fix unterminated comment 2001-12-17 22:38:15 +00:00
Howard Chu
c0dbedca50 from jon@symas.com; include ldap_log.h for proper declarations, remove
unused variable
2001-12-17 22:37:47 +00:00
Howard Chu
63d4d0eb1e Fix ITS#1497 use strcmp instead of strncmp 2001-12-17 21:56:24 +00:00
Howard Chu
b64a425755 Silence a warning for Windows build 2001-12-17 21:42:48 +00:00
Howard Chu
4ddb7c5730 Use a 4-byte constant for the presence index key. Set the index db hash
function to simply pass thru the key value, which is already a hash value.
2001-12-16 14:21:47 +00:00
Howard Chu
bf61a1ca9d Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.
2001-12-15 23:21:37 +00:00
Howard Chu
4ed4b3f0c0 Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
It must be specified on individual put() operations (and already is).
2001-12-15 23:00:46 +00:00
Howard Chu
320d6742b7 Added atexit handler to free global_opts->ldo_defludp. 2001-12-15 13:43:49 +00:00
Howard Chu
ff682be26e Added acl_destroy, acl_free. 2001-12-15 12:41:53 +00:00
Howard Chu
2b0819c4a9 Don't copy and leak user; it's an env var so just use it directly. 2001-12-15 12:07:40 +00:00
Howard Chu
826056e75b More thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
Plugged other small leaks.
2001-12-15 12:05:58 +00:00
Howard Chu
3655c57594 Close some stdio fopen leaks. 2001-12-15 09:19:07 +00:00
Howard Chu
335294e190 More cleanup for bdb_db_close 2001-12-15 08:11:59 +00:00
Howard Chu
dfd26b8d95 Added description of "subordinate" keyword. 2001-12-15 07:15:32 +00:00
Howard Chu
ce81cef289 Do a regular entry_free on entries from do_add 2001-12-15 06:25:47 +00:00
Pierangelo Masarati
cea4556910 allow empty suffix 2001-12-12 07:56:17 +00:00
Kurt Zeilenga
4e79e82972 Treat (!) and (!(x=a)(y=b)) as filter errors... 2001-12-12 06:23:02 +00:00
Howard Chu
331a7bd1c5 More from jon@symas.com - argv[0] comparison must exclude EXEEXT. 2001-12-12 00:26:42 +00:00
Howard Chu
bc66d649b3 More from jon@symas.com - slapd.conf needs backslashes to be escaped. 2001-12-11 22:49:16 +00:00
Howard Chu
46b42307ea From jon@symas.com - NT UUID support requires librpcrt4. 2001-12-11 22:48:30 +00:00
Howard Chu
bfe6df6b20 Don't signal error if reindexing an already existing dn2id index 2001-12-11 14:23:05 +00:00