Kurt Zeilenga
4e51bba217
Patch: Implement surrogate parent for back-shell (ITS#1815)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
A surrogate parent is supposed to keep back-shell children from
deadlocking due to resources locked by a threading parent.
Implementation note: The surrogate parent closes all unused file
descriptors, so it logs errors to stderr instead of via Debug() and
uses relloc() instead of ch_realloc().
Also close a file descriptor leak if fork() fails in fork.c.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
2002-05-15 06:18:14 +00:00
Pierangelo Masarati
4a8ab5dbf2
Mostly based on patches provided by Hallvard B. Furuseth
...
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required
Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
ambiguous operator precedence)
Kurt, please regenerate configure
2002-04-08 09:43:22 +00:00
Kurt Zeilenga
1116bf4f45
Misc WinNT build updates
2002-01-30 04:06:31 +00:00
Kurt Zeilenga
c38027902a
Update copyright notices
2002-01-04 20:40:29 +00:00
Kurt Zeilenga
a553a03586
More struct berval DNs changes
2001-12-26 23:43:28 +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
11b6d1f284
Misc updates for NT4
2001-06-15 04:16:55 +00:00
Gary Williams
72cd80f6ce
turn on new logging by default
2001-02-08 16:40:44 +00:00
Kurt Zeilenga
3b42f9ce2e
Make that LDAP_NEEDS_PROTOTYPES... might as well use proper English
2000-06-19 22:20:36 +00:00
Kurt Zeilenga
52569170cc
NEEDS_PROTOTYPE fix
2000-06-19 22:17:47 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
4a1f646682
Move experimental Back-BDB2 to Attic
2000-06-06 01:23:17 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
64f028a6ab
New schema code is now the default.
...
Use -DSLAPD_SCHEMA_COMPAT to use 1.x compatible schema (deprecated).
2000-05-29 16:39:16 +00:00
Kurt Zeilenga
2a4d69d70e
Define HAVE_BERKELEY_DB not HAVE_BERKELEY_DB2 per new detection.
2000-05-25 23:07:09 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Kurt Zeilenga
d14c7ad7c2
Depend HAVE_NT_THREADS on _WINNT
2000-03-17 19:35:20 +00:00
Kurt Zeilenga
1aae2ffb46
Remove discrete right macro (not used)
2000-03-17 01:48:44 +00:00
Dmitry Kovalev
f28e0c1967
update Win32 build environment to support back-sql
2000-03-16 19:58:36 +00:00
Kurt Zeilenga
91f292bc00
Delete SLAPD_DISCRETE_ACI
2000-03-16 19:15:21 +00:00
Kurt Zeilenga
8e6ba5831a
tempnam() is available in MSVC5
2000-02-25 19:30:28 +00:00
Kurt Zeilenga
b7af076fee
Use centralized output directories.
...
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
10d9136ad5
Use typedef instead of #define for ssize_t.
1999-11-01 18:17:21 +00:00
Kurt Zeilenga
bb1b81473b
Add configure tests for ssize_t and caddr_t and remove NT preamble
...
(excepting WIN32_LEAN_AND_MEAN). Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Howard Chu
a01f3099c3
Fixes for NT support:
...
Remove macros already in Windows headers: strdup, FD_SETSIZE
Set HAVE_SNPRINTF and HAVE_MEMORY_H to reflect NT environment
Moved LDAP_DIRSEP macro to ldap_config.h.in
Moved LDAP_SIGUSR macros to ac/signal.h
1999-10-28 07:26:25 +00:00
Kurt Zeilenga
f804da9bef
Port to NT.
1999-10-27 04:41:38 +00:00
Kurt Zeilenga
bd36de108f
Add OpenLDAP RCS Id
1999-08-31 01:17:01 +00:00
Kurt Zeilenga
7ee686dbb4
Fix NEEDS typo
1999-08-25 06:31:56 +00:00
Kurt Zeilenga
0211b35d8d
s/.h.nt/.nt/ to allow for better NMAKE processing
1999-08-24 23:47:11 +00:00