]> git.sur5r.net Git - openldap/log
openldap
25 years agogcc -W cleanup
Hallvard Furuseth [Mon, 23 Nov 1998 01:46:32 +0000 (01:46 +0000)]
gcc -W cleanup

25 years agoPlug memory leak
Hallvard Furuseth [Mon, 23 Nov 1998 01:44:24 +0000 (01:44 +0000)]
Plug memory leak

25 years agoAdd NT related projects.
Kurt Zeilenga [Mon, 23 Nov 1998 00:24:36 +0000 (00:24 +0000)]
Add NT related projects.

25 years agoShould use right define HAVE_NT_THREADS...
Kurt Zeilenga [Mon, 23 Nov 1998 00:17:23 +0000 (00:17 +0000)]
Should use right define HAVE_NT_THREADS...

25 years agoAdd basic NT thread support.
Kurt Zeilenga [Mon, 23 Nov 1998 00:14:12 +0000 (00:14 +0000)]
Add basic NT thread support.

25 years agoRemove lint.
Kurt Zeilenga [Mon, 23 Nov 1998 00:00:48 +0000 (00:00 +0000)]
Remove lint.

25 years agoUpdate portable.h for NT
Kurt Zeilenga [Sun, 22 Nov 1998 23:29:51 +0000 (23:29 +0000)]
Update portable.h for NT

25 years agoAxe the SunOS 5.6 define and use Pthreads.
Kurt Zeilenga [Sun, 22 Nov 1998 23:18:46 +0000 (23:18 +0000)]
Axe the SunOS 5.6 define and use Pthreads.

25 years agoUpdate configure with new yielding select test.
Kurt Zeilenga [Sun, 22 Nov 1998 20:25:52 +0000 (20:25 +0000)]
Update configure with new yielding select test.

25 years agoReplaced PREEMPTIVE_THREADS with HAVE_YIELDING_SELECT to clarify
Kurt Zeilenga [Sun, 22 Nov 1998 20:08:14 +0000 (20:08 +0000)]
Replaced PREEMPTIVE_THREADS with HAVE_YIELDING_SELECT to clarify
the exact nature of the functionality being tested.  -DNO_THREADS
does NOT have a yield select, hence the macro is not defined.
The slapd/daemon code has been changed to test both no threads
and yielding select before using a timeout of NULL.

25 years agoUse environment $CC is available, otherwise cc. New makefiles
Kurt Zeilenga [Sun, 22 Nov 1998 19:18:58 +0000 (19:18 +0000)]
Use environment $CC is available, otherwise cc.  New makefiles
actually use -c option.

25 years agoTypo: '#ifdef defined(...)'
Hallvard Furuseth [Sun, 22 Nov 1998 10:26:51 +0000 (10:26 +0000)]
Typo: '#ifdef defined(...)'

25 years agobe& was passed uninitialized to read_config()
Hallvard Furuseth [Sun, 22 Nov 1998 09:33:30 +0000 (09:33 +0000)]
be& was passed uninitialized to read_config()

25 years agogcc -W cleanup: Remove implicit int, remove unused idtest:usage()
Hallvard Furuseth [Sun, 22 Nov 1998 06:43:49 +0000 (06:43 +0000)]
gcc -W cleanup: Remove implicit int, remove unused idtest:usage()

25 years agoInclude ac/ctype.h
Hallvard Furuseth [Sun, 22 Nov 1998 06:41:26 +0000 (06:41 +0000)]
Include ac/ctype.h

25 years ago"make veryclean" now lives up to its name.
Kurt Zeilenga [Sun, 22 Nov 1998 06:24:59 +0000 (06:24 +0000)]
"make veryclean" now lives up to its name.

25 years agoupdate termios: HAVE_TERMIOS -> HAVE_TERMIOS_H -> HAVE_POSIX_TERMIOS
Kurt Zeilenga [Sun, 22 Nov 1998 05:20:19 +0000 (05:20 +0000)]
update termios: HAVE_TERMIOS -> HAVE_TERMIOS_H -> HAVE_POSIX_TERMIOS

25 years agoDo not use struct winsize or declare chwinsz unless defined(TIOCGWINSZ)
Hallvard Furuseth [Sun, 22 Nov 1998 05:14:41 +0000 (05:14 +0000)]
Do not use struct winsize or declare chwinsz unless defined(TIOCGWINSZ)

25 years ago"handler" should return RETSIGTYPE, not void
Hallvard Furuseth [Sun, 22 Nov 1998 05:10:33 +0000 (05:10 +0000)]
"handler" should return RETSIGTYPE, not void

25 years agoAdd libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
Kurt Zeilenga [Sun, 22 Nov 1998 04:22:28 +0000 (04:22 +0000)]
Add libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
  Updated to use libtool 1.2 (with FreeBSD3.0 a.out v. elf detection).
  Updated autoconf to 1.12 with sed patch (don't use stock 1.12).
  aclocal.m4 is built using automake's aclocal, v1.3.
  Updated mkdep to support libtool .lo files.
Updated automake provided macros for TERMIOS, STRTOD, MKTIME, PTRDIFF_T
Autoconf now checks to ensure C compiler supports ANSI C prototypes.
Updated make files templates.

25 years agoLIBS needs to be redefined to link test programs.
Kurt Zeilenga [Sat, 21 Nov 1998 20:50:35 +0000 (20:50 +0000)]
LIBS needs to be redefined to link test programs.

25 years agoBuild library test programs. Fix compiling issues.
Kurt Zeilenga [Sat, 21 Nov 1998 20:39:24 +0000 (20:39 +0000)]
Build library test programs.  Fix compiling issues.

25 years agoUpdate to my little php3-tool thingy - config file parsing.
Predrag "Pele" Balorda [Sat, 21 Nov 1998 20:33:20 +0000 (20:33 +0000)]
Update to my little php3-tool thingy - config file parsing.

25 years agoAdd hints for FreeBSD
Kurt Zeilenga [Fri, 20 Nov 1998 22:32:31 +0000 (22:32 +0000)]
Add hints for FreeBSD

25 years agoFix manual support. Set MANCOMPRESS to $(CAT) for now.
Kurt Zeilenga [Fri, 20 Nov 1998 19:54:39 +0000 (19:54 +0000)]
Fix manual support.  Set MANCOMPRESS to $(CAT) for now.
Need to extend autoconf to support user setting.

25 years ago$BINDIR should be $bindir
Kurt Zeilenga [Fri, 20 Nov 1998 18:12:31 +0000 (18:12 +0000)]
$BINDIR should be $bindir

25 years agoFix SunOS5 HAVE_THR detection -llwp -> -lthread
Kurt Zeilenga [Fri, 20 Nov 1998 17:52:44 +0000 (17:52 +0000)]
Fix SunOS5 HAVE_THR detection -llwp -> -lthread

25 years agoPass $(CC) to mkdep
Kurt Zeilenga [Fri, 20 Nov 1998 16:22:50 +0000 (16:22 +0000)]
Pass $(CC) to mkdep

25 years agoDon't use perror after ldbm_store() failure; errno is not set then.
Hallvard Furuseth [Fri, 20 Nov 1998 12:15:05 +0000 (12:15 +0000)]
Don't use perror after ldbm_store() failure; errno is not set then.

25 years agoAdd rfc2279 (obsoletes rfc2244)
Hallvard Furuseth [Fri, 20 Nov 1998 11:54:58 +0000 (11:54 +0000)]
Add rfc2279 (obsoletes rfc2244)

25 years agoThe tsleep() versions had different return types
Hallvard Furuseth [Fri, 20 Nov 1998 11:46:59 +0000 (11:46 +0000)]
The tsleep() versions had different return types

25 years agostack.c did not compile, needed ldap_log.h for its debugging statements.
Hallvard Furuseth [Fri, 20 Nov 1998 11:44:19 +0000 (11:44 +0000)]
stack.c did not compile, needed ldap_log.h for its debugging statements.

25 years agoDon't use the `return value' from void free()
Hallvard Furuseth [Fri, 20 Nov 1998 11:40:06 +0000 (11:40 +0000)]
Don't use the `return value' from void free()

25 years agoNeeded stdio.h
Hallvard Furuseth [Fri, 20 Nov 1998 11:38:45 +0000 (11:38 +0000)]
Needed stdio.h

25 years agoAdd strdup.c to project file.
Kurt Zeilenga [Fri, 20 Nov 1998 07:38:09 +0000 (07:38 +0000)]
Add strdup.c to project file.

25 years agoLWP/THR detected failed to set ol_link_threads.
Kurt Zeilenga [Fri, 20 Nov 1998 07:17:18 +0000 (07:17 +0000)]
LWP/THR detected failed to set ol_link_threads.

25 years agoUpdate string.h to unconditional declare forwards for
Kurt Zeilenga [Fri, 20 Nov 1998 07:04:20 +0000 (07:04 +0000)]
Update string.h to unconditional declare forwards for
strdup(), strcasecmp(), strncasecmp().  Should test to see
if these are truely needed.  Hopefully their addition will
not break other platforms.

25 years agoAdd strdup.c from -llutil, renamed to ldap_strdup() and always used.
Kurt Zeilenga [Fri, 20 Nov 1998 07:02:39 +0000 (07:02 +0000)]
Add strdup.c from -llutil, renamed to ldap_strdup() and always used.
This will allow us to substitute malloc() at a later date.

25 years agoUpdate INSTALL/README files with references to new documents.
Kurt Zeilenga [Fri, 20 Nov 1998 03:12:46 +0000 (03:12 +0000)]
Update INSTALL/README files with references to new documents.
Added new developer todo list.

25 years agoAdded some additional guidelines and clarified some existing points.
Kurt Zeilenga [Fri, 20 Nov 1998 01:59:16 +0000 (01:59 +0000)]
Added some additional guidelines and clarified some existing points.

25 years agoGuidelines for developers in doc/devel/, added doc/install for installation info
Hallvard Furuseth [Thu, 19 Nov 1998 20:59:21 +0000 (20:59 +0000)]
Guidelines for developers in doc/devel/, added doc/install for installation info

25 years agoadd ldap_strdup and eliminate strdup in libldap
Hallvard Furuseth [Thu, 19 Nov 1998 06:18:23 +0000 (06:18 +0000)]
add ldap_strdup and eliminate strdup in libldap

25 years agoAdd "avoid extern in .c files".
Hallvard Furuseth [Thu, 19 Nov 1998 04:49:01 +0000 (04:49 +0000)]
Add "avoid extern in .c files".

25 years agoAdded a file with coding rules and hints for OpenLDAP developers.
Hallvard Furuseth [Thu, 19 Nov 1998 04:38:05 +0000 (04:38 +0000)]
Added a file with coding rules and hints for OpenLDAP developers.

25 years agoSupport $LDAPRC to specify fullpath to additional rc file
Kurt Zeilenga [Thu, 19 Nov 1998 03:55:56 +0000 (03:55 +0000)]
Support $LDAPRC to specify fullpath to additional rc file
Don't support ./.ldaprc...  can be spoofed to easily.

25 years agopass struct in_addr.s_addr*, not long*, to gethostbyaddr
Hallvard Furuseth [Thu, 19 Nov 1998 03:02:33 +0000 (03:02 +0000)]
pass struct in_addr.s_addr*, not long*, to gethostbyaddr

25 years agoCheck in default ldap.conf file
Kurt Zeilenga [Thu, 19 Nov 1998 02:10:52 +0000 (02:10 +0000)]
Check in default ldap.conf file

25 years agoUpdate comments associated with SIGUSRx -> LDAP_SIGUSRx change.
Kurt Zeilenga [Thu, 19 Nov 1998 01:18:24 +0000 (01:18 +0000)]
Update comments associated with SIGUSRx -> LDAP_SIGUSRx change.

25 years agodebug messages incorrectly said "add" instead of "remove".
Kurt Zeilenga [Wed, 18 Nov 1998 20:27:21 +0000 (20:27 +0000)]
debug messages incorrectly said "add" instead of "remove".

25 years agofree parent's reader lock. Thanks Gary!
Kurt Zeilenga [Wed, 18 Nov 1998 20:20:54 +0000 (20:20 +0000)]
free parent's reader lock.  Thanks Gary!

25 years agoUpdate configure.
Kurt Zeilenga [Wed, 18 Nov 1998 20:12:31 +0000 (20:12 +0000)]
Update configure.

25 years agowrap include fcntl.h with HAVE_FCNTL_H
Kurt Zeilenga [Wed, 18 Nov 1998 20:11:15 +0000 (20:11 +0000)]
wrap include fcntl.h with HAVE_FCNTL_H

25 years agoRemove lint in UserDirectory found on NT
Kurt Zeilenga [Wed, 18 Nov 1998 20:08:02 +0000 (20:08 +0000)]
Remove lint in UserDirectory found on NT

25 years agoAdd headers to resolve implicit declaration warnings.
Kurt Zeilenga [Wed, 18 Nov 1998 18:11:55 +0000 (18:11 +0000)]
Add headers to resolve implicit declaration warnings.

25 years agoUpdate LinuxThread signal handling. Hide #ifdef hell in ac/signal.h.
Kurt Zeilenga [Wed, 18 Nov 1998 17:45:32 +0000 (17:45 +0000)]
Update LinuxThread signal handling.  Hide #ifdef hell in ac/signal.h.

26 years agoOBJS: passwd.c -> passwd.o (I thought I already fixed this once)
Kurt Zeilenga [Wed, 18 Nov 1998 16:15:10 +0000 (16:15 +0000)]
OBJS:  passwd.c -> passwd.o  (I thought I already fixed this once)

26 years agoProtect strdup/memcmp from macro subsitution. Let compiler pick registers.
Kurt Zeilenga [Wed, 18 Nov 1998 16:13:51 +0000 (16:13 +0000)]
Protect strdup/memcmp from macro subsitution.  Let compiler pick registers.

26 years agoNeed to add SIZEOF defines.
Kurt Zeilenga [Wed, 18 Nov 1998 06:10:11 +0000 (06:10 +0000)]
Need to add SIZEOF defines.

26 years agoFix multiple define protection.
Kurt Zeilenga [Wed, 18 Nov 1998 05:11:12 +0000 (05:11 +0000)]
Fix multiple define protection.

26 years agoShouldn't have removed uint32's multiple defined protection...
Kurt Zeilenga [Wed, 18 Nov 1998 05:09:05 +0000 (05:09 +0000)]
Shouldn't have removed uint32's multiple defined protection...

26 years agoAdd missing check for crypt.h
Kurt Zeilenga [Wed, 18 Nov 1998 04:48:16 +0000 (04:48 +0000)]
Add missing check for crypt.h
Sync portable.h.nt with portable.h.in

26 years agoMove byte orderring stuff to ac/bytes.h
Kurt Zeilenga [Tue, 17 Nov 1998 22:49:47 +0000 (22:49 +0000)]
Move byte orderring stuff to ac/bytes.h

26 years agoAdd sizeof checks to configure.in.
Kurt Zeilenga [Tue, 17 Nov 1998 22:49:15 +0000 (22:49 +0000)]
Add sizeof checks to configure.in.
Add ac/bytes.h to provided sized types.
Use new sized type in md5/sha1 header through simple typedef.
Should substitute old type for new everywhere.

26 years agoAdd AC_C_BIGENDIAN check for <ac/socket.h>. Code should be rewritten
Kurt Zeilenga [Tue, 17 Nov 1998 19:44:59 +0000 (19:44 +0000)]
Add AC_C_BIGENDIAN check for <ac/socket.h>.  Code should be rewritten
not to require knowledge of byte order such that this check can be removed.

26 years agoNT doesn't have fork. Need to define HAVE_SPAWNLP
Kurt Zeilenga [Tue, 17 Nov 1998 19:14:11 +0000 (19:14 +0000)]
NT doesn't have fork.   Need to define HAVE_SPAWNLP

26 years agoRemove recently added externs. Some may not actually be bogus.
Kurt Zeilenga [Tue, 17 Nov 1998 19:08:29 +0000 (19:08 +0000)]
Remove recently added externs.  Some may not actually be bogus.

26 years agoUpdate handling of string headers.
Kurt Zeilenga [Tue, 17 Nov 1998 19:05:48 +0000 (19:05 +0000)]
Update handling of string headers.
Update NT port.

26 years agoBack out probable fix to strange alignment code
Hallvard Furuseth [Tue, 17 Nov 1998 17:44:50 +0000 (17:44 +0000)]
Back out probable fix to strange alignment code

26 years agoBack out K&Rification change; would only be needed in ldap.h and lber.h.
Hallvard Furuseth [Tue, 17 Nov 1998 04:07:31 +0000 (04:07 +0000)]
Back out K&Rification change; would only be needed in ldap.h and lber.h.

26 years agoKill off #elif in ldap/include/. K&R does not support it.
Hallvard Furuseth [Tue, 17 Nov 1998 01:25:45 +0000 (01:25 +0000)]
Kill off #elif in ldap/include/.  K&R does not support it.

26 years agoMake sure tblsize in initialized in ldap_new_select_info()
Kurt Zeilenga [Mon, 16 Nov 1998 23:55:37 +0000 (23:55 +0000)]
Make sure tblsize in initialized in ldap_new_select_info()
Regenerate configure.

26 years agoRemove extern declarations of library functions from source.c.
Kurt Zeilenga [Mon, 16 Nov 1998 05:07:27 +0000 (05:07 +0000)]
Remove extern declarations of library functions from source.c.
  This could cause problems on odd systems.  The generic
  headers should be extended as needed to include necessary
  system headers or, if necessary, make explicit declarations.
Extended ac/string.h header to look for string.h/strings.h if
  STDC_HEADERS is not defined.  Also provide basic declarations for
  str*() functions.  This could cause problems on odd systems.
Extended ac/unistd.h header to define basic declaration for misc
  functions that might be missing from headers.   This includes
  externs for getenv(), getopt(), mktemp(), tempname().
Protect fax500.h from multiple inclusion.  Moved includes of
  system/generic headers back to source files.
Made mail500 helper functions static.
Fixed includes of ctype.h, signal.h, etc. to use generics.
lutil/tempname.c: was including stdlib.h twice, one should stdio.h.
Wrapped <sys/resource.h> with HAVE_SYS_RESOURCE_H.
lber/io.c/ber_get_next(): Changed noctets back to signed.
  Used with BerRead which expects signed int as second arg and
  returns signed int.

26 years agoAdd checks for string.h and strings.h and apply them in generic header.
Kurt Zeilenga [Mon, 16 Nov 1998 02:02:45 +0000 (02:02 +0000)]
Add checks for string.h and strings.h and apply them in generic header.

26 years agoUpdate pthread preemptive test. Still needs work.
Kurt Zeilenga [Mon, 16 Nov 1998 00:52:15 +0000 (00:52 +0000)]
Update pthread preemptive test.  Still needs work.

26 years agoProtoized, moved extern definitions to .h files, fixed related bugs.
Hallvard Furuseth [Sun, 15 Nov 1998 22:40:11 +0000 (22:40 +0000)]
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking.  Retyped a number of functions, usually
to return void.  Fixed a number of printf format errors.

API changes (in ldap/include):
  Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
  for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.

A number of `extern' declarations are left (some added by protoize), to
be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.

26 years agoRemove #ifdef sunos in lthread HAVE_LWP code.
Kurt Zeilenga [Sun, 15 Nov 1998 22:05:28 +0000 (22:05 +0000)]
Remove #ifdef sunos in lthread HAVE_LWP code.

26 years agoAdded declarations of common str*() functions
Hallvard Furuseth [Sun, 15 Nov 1998 21:52:56 +0000 (21:52 +0000)]
Added declarations of common str*() functions

26 years agoAdd check to see if errno is always thread specific.
Kurt Zeilenga [Sun, 15 Nov 1998 20:55:17 +0000 (20:55 +0000)]
Add check to see if errno is always thread specific.
If it is not, then everything must use threading libraries.

26 years agofix typo in previous commit.
Kurt Zeilenga [Sun, 15 Nov 1998 15:05:22 +0000 (15:05 +0000)]
fix typo in previous commit.

26 years agodon't assume NULL is zero.
Kurt Zeilenga [Sun, 15 Nov 1998 06:55:20 +0000 (06:55 +0000)]
don't assume NULL is zero.

26 years agoUse "generic" ac headers.
Kurt Zeilenga [Sun, 15 Nov 1998 06:54:30 +0000 (06:54 +0000)]
Use "generic" ac headers.

26 years agoPthread library check. Autoconf uses same cache variable based
Kurt Zeilenga [Fri, 13 Nov 1998 04:28:56 +0000 (04:28 +0000)]
Pthread library check.  Autoconf uses same cache variable based
upon library and function, but not secondary libraries.  Must use
different functions in such cases.

26 years agoRemoved space in front of `#endif'; `make depend' did not like it.
Hallvard Furuseth [Fri, 13 Nov 1998 03:06:54 +0000 (03:06 +0000)]
Removed space in front of `#endif'; `make depend' did not like it.

26 years agoEliminate #ifdef DOS
Kurt Zeilenga [Thu, 12 Nov 1998 23:28:47 +0000 (23:28 +0000)]
Eliminate #ifdef DOS

26 years agoUpdates based upon latest NT UserDirectory changes:
Kurt Zeilenga [Thu, 12 Nov 1998 23:25:53 +0000 (23:25 +0000)]
Updates based upon latest NT UserDirectory changes:
configure checks for getpwuid(), sys/resource.h, and pwd.h
Fix !TERMIOS && !SGTTY ifdef in ud/util.c

26 years agoModified UD as necessary to compile and link under NT.
Kurt Zeilenga [Thu, 12 Nov 1998 23:19:16 +0000 (23:19 +0000)]
Modified UD as necessary to compile and link under NT.

26 years agoMove extern declarations to headers.
Kurt Zeilenga [Thu, 12 Nov 1998 21:07:28 +0000 (21:07 +0000)]
Move extern declarations to headers.
Update NT portable.h and features.h

26 years agoRework prototype ifdef to use __NO_PROTOTYPES and __NEED_PROTOTYPES
Kurt Zeilenga [Thu, 12 Nov 1998 20:30:42 +0000 (20:30 +0000)]
Rework prototype ifdef to use  __NO_PROTOTYPES and __NEED_PROTOTYPES
to force no prototypes or require them.
Remove _WIN32 clause.  Will update portable.h.nt to define __NEED_PROTOTYPES.

26 years agoInclude ldif.h to pickup declaration of str_getline()
Kurt Zeilenga [Thu, 12 Nov 1998 20:17:01 +0000 (20:17 +0000)]
Include ldif.h to pickup declaration of str_getline()
Fix pointer truncation to int by including prototypes in forward declarations.

26 years agoremove an entry from its parent's children ID list when it's deleted.
Kurt Zeilenga [Thu, 12 Nov 1998 18:39:33 +0000 (18:39 +0000)]
remove an entry from its parent's children ID list when it's deleted.
Provided by "Gary D. Williams" <sasgwi@unx.sas.com>

26 years agoForced commit to correct previous log, files were not changed.
Hallvard Furuseth [Thu, 12 Nov 1998 03:03:57 +0000 (03:03 +0000)]
Forced commit to correct previous log, files were not changed.

inet_addr() on OSF1 returns (unsigned int)0xffffffff, not int.
If it had returned int, the old code would have worked.

26 years agoCheck if inet_addr() returns 0xffffffff as well as -1.
Hallvard Furuseth [Thu, 12 Nov 1998 02:24:43 +0000 (02:24 +0000)]
Check if inet_addr() returns 0xffffffff as well as -1.
It returns (int)0xffffffff on OSF1 which has 64-bit long, so
`unsigned long address; ... if((address = inet_addr(str)) == -1)' fails.

26 years agoFix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
Hallvard Furuseth [Wed, 11 Nov 1998 23:37:38 +0000 (23:37 +0000)]
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
 #include <stdlib.h>    to get malloc & co various places,
 #include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
 declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.

26 years agoMemory leaks: Values from ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 22:10:05 +0000 (22:10 +0000)]
Memory leaks: Values from ldap_get_dn were not freed.

26 years agoMemory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 21:27:21 +0000 (21:27 +0000)]
Memory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.

26 years agoLocks were not always released, in particular if something went wrong.
Hallvard Furuseth [Wed, 11 Nov 1998 19:17:25 +0000 (19:17 +0000)]
Locks were not always released, in particular if something went wrong.
Fixed in slurpd and the slapd main dir.  Slapd clients were not examined.
It also "felt right" to swap the order of closing dfp and rfp in slurpd
copy_replog(), so the last acquired lock is unlocked first.

26 years agostrlen() needed string.h.
Hallvard Furuseth [Wed, 11 Nov 1998 16:35:58 +0000 (16:35 +0000)]
strlen() needed string.h.

26 years agoFix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4
Hallvard Furuseth [Wed, 11 Nov 1998 15:53:04 +0000 (15:53 +0000)]
Fix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4

26 years ago&deref_kv -> deref_kv; som compilers don't like &array
Hallvard Furuseth [Wed, 11 Nov 1998 15:42:22 +0000 (15:42 +0000)]
&deref_kv -> deref_kv; som compilers don't like &array

26 years agoUpdate NT4 port.
Kurt Zeilenga [Wed, 11 Nov 1998 05:50:51 +0000 (05:50 +0000)]
Update NT4 port.