Commit Graph

1614 Commits

Author SHA1 Message Date
Kurt Zeilenga
80b8691eac Fix VPATH support. 1999-04-08 02:18:54 +00:00
Kurt Zeilenga
fe73a8f8cd Rebuild per Ksp request (for syslog changes) 1999-04-07 19:06:25 +00:00
Kurt Spanier
ae41f268de Re-introduction of of syslog in configure.in. The rest nothing, sorry. 1999-04-07 13:47:30 +00:00
Kurt Spanier
2206a55064 Introduce free'ing of key into ldbm_nextkey() (no need for free'ing in
clients).
1999-04-07 13:17:39 +00:00
Kurt Spanier
85df05d3d6 Next try to fix the core dump problem on FreeBSD: eliminate ldbm_datum_free(),
because it's already done in ldbm_nextkey().
1999-04-07 13:15:51 +00:00
Kurt Zeilenga
a816a5eb30 eliminate -lpthread -lexc from pthread link tests 1999-04-07 06:10:46 +00:00
Hallvard Furuseth
479c14ac6c Fix typo ol_cv_pthread_pthread -> ol_cv_pthread_threads for -threads option 1999-04-07 04:44:19 +00:00
Hallvard Furuseth
14f4d60d49 Remove superfluous )' in the pthread_create in default libraries' test 1999-04-07 04:20:08 +00:00
Kurt Zeilenga
d49de831ef Remove extraneous setting of shutdown variable before exiting. 1999-04-07 03:29:47 +00:00
Kurt Zeilenga
404f953ef0 New pthread_try_link test. Looks for pthread_create and pthread_detach
and, if LinuxThreads, pthread_kill_other_threads_np().
1999-04-07 02:47:15 +00:00
Hallvard Furuseth
30cdbc7657 Remove #ifdef SLAP_CLEANUP around closelog() 1999-04-07 01:23:25 +00:00
Kurt Zeilenga
bbb7964508 New LinuxThreads detection. Correctly detects FreeBSD's LinuxThreads port
(but not sure if it's usable yet).  Needs to be tested on various versions
of Linux native LinuxThreads.
1999-04-06 23:44:27 +00:00
Kurt Zeilenga
73b846c011 Add ldap_pvt_thread_destory() to un-ldap_pvt_thread_initialize().
Move all SunOS routines (ie: _sleep() and its helpers) to thr_lwp.c
so that it's internals can be 'static'.  Add 'static' to thr_lwp.c.
Add comment to LWP:  NEEDS WORK, may not compile!  Need some
SunOS user to sort out the details.  Volunteers?
1999-04-06 21:57:16 +00:00
Kurt Zeilenga
539a7dbf34 Remove HAVE_LWP use from slurpd. globals for ldap_pvt_thread_sleep()
need to be managed completely by -lldap_r.
1999-04-06 20:59:30 +00:00
Kurt Zeilenga
6128be068b Backout last change (resurection) 1999-04-06 20:28:01 +00:00
Kurt Zeilenga
e5a6f515ef Move tsleep back to slurpd... it relies on slurpd internals. 1999-04-06 20:19:40 +00:00
Kurt Zeilenga
33dae09abd Don't hide the unlock fix behind SLAP_CLEANUP... 1999-04-06 03:23:40 +00:00
Hallvard Furuseth
d9d11a315f ifdef SLAP_CLEANUP: close db files, free memory, some other cleanup before exit 1999-04-06 01:55:11 +00:00
Hallvard Furuseth
e78f4140d7 Use macros for the dummy definitions of sys_errlist/sys_errno 1999-04-06 01:25:03 +00:00
Hallvard Furuseth
a66f4db90b Protect against failed commands in Makefile.in 1999-04-06 01:00:31 +00:00
Hallvard Furuseth
a2708937b3 Do not pipe to awk, use temporary file instead 1999-04-06 00:55:08 +00:00
Hallvard Furuseth
0960e34bf2 Add $CC_MKDEP to override $CC and the -c option 1999-04-06 00:52:56 +00:00
Kurt Zeilenga
cf4371d108 Backout last change... finish my first coke... try again later... 1999-04-05 18:30:56 +00:00
Kurt Zeilenga
66164a1b58 Share unlock and return between true and false paths. 1999-04-05 18:21:31 +00:00
Hallvard Furuseth
dae494e45d Delay free(e.e_ndn) in cache_find_entry_dn2id() to after "goto try_again" 1999-04-05 18:01:11 +00:00
Hallvard Furuseth
2b2c154ae6 Delay free(e.e_ndn) in bdb2i_cache_find_entry_dn2id() to after "goto try_again" 1999-04-05 18:00:57 +00:00
Kurt Zeilenga
371e1e5936 Remove extraneous do_close() prototype. Conflicts with perl internals. 1999-04-04 22:13:30 +00:00
Hallvard Furuseth
1966222b50 Remove initialization of auto arrays 1999-04-04 22:02:20 +00:00
Hallvard Furuseth
2915ed56db plug memory leak of li->li_nextid_file 1999-04-04 21:53:39 +00:00
Hallvard Furuseth
db859cee36 strdup/free li->li_directory when chaning, so unmalloced version won't be freed 1999-04-04 21:49:56 +00:00
Hallvard Furuseth
47f9f7e79d fix typo in comment in ldbm_back_close 1999-04-04 21:39:24 +00:00
Hallvard Furuseth
2b32e6afd7 Plug memory leaks 1999-04-04 21:34:33 +00:00
Hallvard Furuseth
d60bcb02c4 Plug memory leak in avl_free() 1999-04-04 21:29:22 +00:00
Kurt Zeilenga
b4658cbe24 Cleanup socket() detection.
Move select() detection forward, error if not available.
Move select() args type check forward so it can be used in subsequent tests.
1999-04-04 20:36:35 +00:00
Hallvard Furuseth
2032577773 Do closedir() 1999-04-04 05:06:49 +00:00
Hallvard Furuseth
24fd4404d2 Plug a few memory leaks 1999-04-04 05:04:48 +00:00
Kurt Zeilenga
a90355d66b Regenerate configure to include quillan's mods. 1999-04-04 04:49:39 +00:00
John Quillan
fa2e485480 Fixe problem where perl options were retrieved from perl_inc and not
from ccopts.  This prevented the Perl backend from compiling.
1999-04-04 04:21:48 +00:00
John Quillan
3f1fd3bcee Fix bug in compare.c where obj_ref to pb_obj_ref
Added call to perl "config" method so the the
perl module can have its own configuration
options.

Fix bug in init.c where the address of the be_private
object was being retrieved when it was already
a pointer.

Added the dn parameter to the modify.c call to the
modify method.  Not sure why this wasn't there
in the beginning.

Expects and array from the search method instead of
a scalar in search.c so that it can return search
results and a return code.

Added the demo file SampleLDAP.pm
1999-04-04 04:16:14 +00:00
Kurt Zeilenga
82453169fc Add select args type & vfork tests for experimentation purposes. 1999-04-04 00:59:32 +00:00
Hallvard Furuseth
f172f7ee9c Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them. 1999-04-03 09:20:41 +00:00
Kurt Zeilenga
04904a4418 comment out OSF/1 yielding select force. Likely incorrect. 1999-04-03 08:19:37 +00:00
Kurt Zeilenga
4d2b0cfab6 Reorder the pthreads tests and hope for the best. IRIX users beware. 1999-04-03 07:32:17 +00:00
Kurt Zeilenga
37acf0344c s/final/draft4/ in comment about (depreciated) draft4 libraries test order. 1999-04-03 05:58:16 +00:00
Kurt Zeilenga
0f57d966f9 Fix cut and paste mistakes in pthread detections cases: -mt, -thread, -threads. 1999-04-03 05:55:08 +00:00
Hallvard Furuseth
a0b741102d Add missing \n's in Debug statements 1999-04-03 03:39:16 +00:00
Hallvard Furuseth
730d267465 Add missing \n's in Debug statements 1999-04-03 03:28:17 +00:00
Hallvard Furuseth
9ebd9a0289 Add -U and -G options to set user and group id.
Move socket setup to set_socket(), called before the uid/gid change.
1999-04-03 03:19:07 +00:00
Kurt Zeilenga
e46877f89f cache: implement try_again loop if cache entry is not ready.
id2entry: when an error occurs attempting to insert fetched
entry into cache, check to see if entry was added by another
thread.  If so, return the entry added by the other thread.
The concurrency tests now run without the dreaded "no such object"
error messages!
1999-04-02 19:09:59 +00:00
Kurt Zeilenga
ff5f9edc04 Add checks for recv and recvfrom. 1999-04-02 18:58:48 +00:00