Commit Graph

2192 Commits

Author SHA1 Message Date
Pierangelo Masarati
aa0b0f642f don't malloc when not required? 2005-07-21 19:10:16 +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
f43a823c73 Add missing "static" for functions declared static but defined non-static 2005-07-18 05:14:41 +00:00
Hallvard Furuseth
ab1ef34c51 size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED) 2005-07-18 04:42:28 +00:00
Hallvard Furuseth
bf1d1a84bd Remove unused type: struct token 2005-07-17 11:53:35 +00:00
Pierangelo Masarati
19c1c6d671 some (stupid) editors complain because 'new' is a reserved word in C++ 2005-07-16 15:38:33 +00:00
Pierangelo Masarati
5e84975adf paranoid check 2005-07-16 15:37:01 +00:00
Pierangelo Masarati
e790055467 be liberal: accept empty oid lists 2005-07-15 00:46:30 +00:00
Hallvard Furuseth
d449c9d08b Silence "unused variable" warnings 2005-07-14 19:18:55 +00:00
Hallvard Furuseth
3d8aceab81 Fix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR 2005-07-14 19:17:05 +00:00
Howard Chu
6754d025f2 ITS#3847 silence warnings 2005-07-11 10:39:32 +00:00
Hallvard Furuseth
bdbda6a231 ber_get_enum() needs int*, not enum*. An enum can have wrong size.
(Enum _members_ have type int, but the enum's _type_ can be compatible
with some other char/integer type which can represent its members.)
2005-07-10 09:40:34 +00:00
Kurt Zeilenga
570126dc25 cleanup 2005-07-09 18:57:10 +00:00
Howard Chu
4b07f91511 Fix get_scheme to check length of scheme name 2005-07-08 05:46:08 +00:00
Howard Chu
2392f9c3f6 Linux updates tv on select() so always use a second copy 2005-07-07 16:09:41 +00:00
Hallvard Furuseth
7cc496fd25 Constify ldif_open() args 2005-07-06 10:50:03 +00:00
Hallvard Furuseth
947a70a911 Kill harmless format warning 2005-07-06 09:28:30 +00:00
Hallvard Furuseth
a20b19cc9e ISO C chokes on comma at end of enum list 2005-07-06 08:13:50 +00:00
Pierangelo Masarati
86e6207b63 tentative fix of another issue related to ITS#3800; please review 2005-06-30 16:49:00 +00:00
Pierangelo Masarati
a12298c12e re-fetch the request; since the mutex has been released wile freeing the message, it may have been already removed by someone else (ITS#3800) 2005-06-30 02:36:55 +00:00
Pierangelo Masarati
671b02f748 more on ITS#3808 2005-06-29 12:28:40 +00:00
Howard Chu
5f46aa4d3b ITS#3760 add missing NO_THREADS stubs 2005-06-03 22:08:31 +00:00
Pierangelo Masarati
eb005a9872 allow to muck with referrals while chasing... 2005-05-28 14:29:08 +00:00
Pierangelo Masarati
f103589cc3 fix inconsistent indentation 2005-05-21 14:52:19 +00:00
Howard Chu
d9b09ecc1f Fix ldap_get_option(,LDAP_OPT_SOCKBUF,) 2005-05-18 19:00:30 +00:00
Howard Chu
6a86f5178f ITS#3278 use correct connection for sasl_install() 2005-05-13 05:22:08 +00:00
Howard Chu
9db1b9e8ea Fix Win32 build using separate object directory 2005-05-12 04:03:31 +00:00
Howard Chu
54adc170e5 Fix prev commit 2005-05-12 02:56:11 +00:00
Howard Chu
c225c4af34 Updated ldif_read_record to support LDIF include: directive 2005-05-12 00:46:39 +00:00
Howard Chu
376537f3d7 ITS#3577 Make librewrite shared - > liblrewrite.la 2005-05-11 10:18:27 +00:00
Kurt Zeilenga
be097fc8cd Add ldap_turn(3) and ldap_turn_s(3). 2005-05-04 20:24:48 +00:00
Jong Hyuk Choi
3ae1146a0c Fix for ITS#3612 2005-05-03 00:03:02 +00:00
Pierangelo Masarati
12c32c3e6c fix previous commit 2005-04-27 02:38:55 +00:00
Kurt Zeilenga
c833ff220c type is no longer a char*
Fix suggested by Peter Marshall <peter@adpm.de>
2005-04-26 17:50:52 +00:00
Howard Chu
2d06c4fe2d Freshly inserted tasks should be at head of queue and run immediately 2005-04-23 16:56:37 +00:00
Howard Chu
b978e77932 Add task names to runqueue entries 2005-04-23 00:27:57 +00:00
Howard Chu
3f20324ed0 Add ldap_pvt_thread_pool_purgekey to free all instances of key across
all threads.
2005-04-22 22:27:29 +00:00
Howard Chu
2dec29f265 Change ldap_pvt_runqueue_insert to return new task pointer 2005-04-22 14:37:59 +00:00
Pierangelo Masarati
2f877b48b1 introduce ber_bvreplace() 2005-04-21 03:40:50 +00:00
Howard Chu
dd646eb734 Added ldap_pvt_runqueue_find() 2005-04-19 14:40:30 +00:00
Howard Chu
5608206da2 Fix LDAP_PVT_THREAD_STACK_SIZE, automatically scale up on 64 bit machines 2005-04-15 06:18:18 +00:00
Howard Chu
9c0e4415d2 Omit FD_SETSIZE check for Winsock 2005-04-13 07:27:36 +00:00
Kurt Zeilenga
3e800f20bd <limits.h> cleanup && ITS#3643 2005-04-10 19:32:14 +00:00
Pierangelo Masarati
e94f1cd3f9 OID checks don't need to be case-insensitive 2005-04-10 16:01:24 +00:00
Pierangelo Masarati
58d4f7fc20 base64 encode passwords in back-config 2005-04-09 15:19:36 +00:00
Howard Chu
eca819d866 ITS#3643 limits.h, INT_MAX 2005-04-09 06:41:39 +00:00
Kurt Zeilenga
94a9f84895 ITS#3614: prevent overflow when using result of sysconf(_SC_OPEN_MAX) 2005-03-30 21:53:01 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00