Commit Graph

48 Commits

Author SHA1 Message Date
Howard Chu
b0e50c6a7d ITS#6054 assert/exit on failed allocs 2009-04-11 03:40:12 +00:00
Howard Chu
5152ea19a3 ITS#6005 realloc should be ch_realloc 2009-03-09 00:48:44 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
cd63a0c43b Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key() 2008-01-11 06:07:43 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Hallvard Furuseth
8eda2e301f Fix SLAP_NO_SL_MALLOC (ber_malloc_x -> ber_memalloc_x) for ITS#4990. 2007-07-04 22:49:34 +00:00
Howard Chu
e28627f1e2 Added "slapd" rewrite map handler, connection_fake_init2 to use existing
tmpmemctx without reinitializing
2007-02-14 08:51:47 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
b03d8abcde don't leak if realloc fails (ITS#4477) 2006-04-06 19:13:41 +00:00
Pierangelo Masarati
c6ab0790d1 don't leak if realloc fails (ITS#4477); s/new/newptr/ 2006-04-06 19:07:48 +00:00
Howard Chu
8cbd5ecc13 Cleanup 2006-03-31 10:45:23 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Pierangelo Masarati
1b11741a30 mostly revert previous commit 2005-07-20 19:26:46 +00:00
Pierangelo Masarati
c789d494c4 allow to unregister (and free) memory handling functions 2005-07-20 19:07:04 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
885c73d02f struct slab_heap *sh was accessed through the wrong type 2005-07-14 21:57:25 +00:00
Howard Chu
5d2ba11ad9 ITS#3847 silence warnings 2005-07-11 12:11:15 +00:00
Hallvard Furuseth
8a696d21b2 Format fixes (%d<->%lu etc) 2005-07-04 05:29:12 +00:00
Howard Chu
43cd22a639 Fix ITS#3695 preserve stack alignment in slap_sl_realloc 2005-04-30 01:15:10 +00:00
Howard Chu
4c65aa9c44 Make sl_context just return NULL in tool mode, we have no threads here 2005-01-19 21:42:04 +00:00
Pierangelo Masarati
7f8634e8fc silence (a couple of) warnings 2005-01-14 11:50:24 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
4984e157b1 misc cleanup 2004-12-08 08:12:15 +00:00
Howard Chu
b70d375964 Fix ITS#3420 2004-12-07 08:48:28 +00:00
Jong Hyuk Choi
8771bdfcbb restructuring and cleanup 2004-11-30 16:32:37 +00:00
Pierangelo Masarati
6f182a7547 make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup 2004-11-27 15:08:24 +00:00
Jong Hyuk Choi
994edd5500 buddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimization for higher perf. 2004-11-23 15:37:06 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
0bcb9c3150 Fix ITS#3155 2004-05-27 08:54:34 +00:00
Kurt Zeilenga
1372965d89 ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
e4b899df95 ITS#2884 silence warning. We don't dereference this pointer, we just use
it's value as a unique key.
2003-12-18 03:54:48 +00:00
Howard Chu
864aea13f7 ITS#2864 removed sl_mark/sl_release code 2003-12-07 04:00:47 +00:00
Kurt Zeilenga
4e15a84452 Updated notices 2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
c6e5cca3f4 cleanup comments of sl_mem_detach() 2003-05-30 21:44:18 +00:00
Howard Chu
4c0e4741f7 Add comments to sl_mem_detach() 2003-05-23 09:10:05 +00:00
Howard Chu
3e7a533790 ITS#2542 fix? 2003-05-23 04:24:39 +00:00
Hallvard Furuseth
6d3d9fe027 Don't do pointer arithmetic on void pointers. 2003-05-22 21:52:02 +00:00
Jong Hyuk Choi
7e7429267e persistent search updates with recent changes 2003-05-20 20:21:39 +00:00
Hallvard Furuseth
46e0ea292b Don't do arithmetic on void pointers. 2003-04-29 14:54:22 +00:00
Howard Chu
be28bf247e Added sl_context() to return the context associated with an alloc'd ptr.
Improved ch_malloc/sl_malloc compatibility.
2003-04-12 05:12:40 +00:00
Howard Chu
ece7452b05 More memory context tweaks 2003-04-11 01:29:28 +00:00
Howard Chu
374d919fc0 More memory context tweaks 2003-04-10 06:21:53 +00:00
Howard Chu
f897519d11 Minor cleanups 2003-04-09 23:37:00 +00:00
Howard Chu
ebecca7379 Eliminate getkey search 2003-04-09 17:34:58 +00:00
Howard Chu
813d5c8ed8 First cut at thread-local malloc. Only used by search() for now...
Needs work in normalizers, etc.
2003-04-09 16:52:03 +00:00