Commit Graph

1812 Commits

Author SHA1 Message Date
Julio Sánchez Fernández
fb422591a2 Matching rules. 1999-06-14 13:37:59 +00:00
Julio Sánchez Fernández
3e6fe96a96 Constification. 1999-06-14 11:57:43 +00:00
Julio Sánchez Fernández
e9e0e613b2 Constification 1999-06-14 11:57:02 +00:00
Julio Sánchez Fernández
766a5832b1 Netscape DS quotes the SYNTAX values, we propagate the be_liberal
setting to parse_noidlen so that it can grok that.
Propagate be_liberal parse_oids so that it only accepts a qdstring when
necessary (i.e. in SUP) to cater for another Netscapism.
1999-06-14 11:31:42 +00:00
Julio Sánchez Fernández
8d2b71e6c1 ldap_*_free routines are new and replace the old static routines, all
references changed.
Parsers are now more liberal in that they can accept missing OIDs or
OIDs that are in the wrong syntax.
1999-06-13 23:34:41 +00:00
Julio Sánchez Fernández
5e0f62e454 New ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
that replace old static routines.
1999-06-13 23:31:35 +00:00
Kurt Zeilenga
cb68aab469 s/ldap_open/ldap_init/ calls... ldap_open is deprecated. 1999-06-13 21:49:35 +00:00
Kurt Zeilenga
4c36726ee0 Add draft 3 of the C API spec. 1999-06-12 21:28:24 +00:00
Kurt Zeilenga
6950e8e403 Change referral comment to point to root.openldap.org instead of umich.edu.
Both do not return anything useful.
1999-06-12 21:02:11 +00:00
Kurt Zeilenga
18e5e729ac Resched changes struct state without lock to avoid deadlock.
Hence connection_get must recheck struct state after obtaining
c_mutex to detect close.
1999-06-12 00:29:41 +00:00
Kurt Zeilenga
35e91be482 connection_get:
Connection could be closed before acquiring connections_mutex.
	if c->c_struct_state == SLAP_C_UNUSED, return NULL.
1999-06-12 00:03:39 +00:00
Kurt Zeilenga
0dda34c9e4 Add additional assert in connection get for race debugging. 1999-06-11 23:19:31 +00:00
Juan Gomez
f3b3c68792 Added at_official_name() to enable uniform naming of index files. 1999-06-11 20:49:41 +00:00
Juan Gomez
7d8330fd40 Added code for uniform naming of index files. 1999-06-11 20:42:48 +00:00
Juan Gomez
c8fac1864c Added at_ooficial_type() for uniform naming of index files. 1999-06-11 20:41:07 +00:00
Kurt Zeilenga
3cfd58eed8 EXPERIMENTAL: move slapd_remove to connections_read/_write as they
acquire c_mutex.
1999-06-11 19:10:45 +00:00
Juan Gomez
34f068f131 Drop support for alloca(). 1999-06-11 18:56:28 +00:00
Kurt Zeilenga
2cb228a9ce Clean up build_result_ber error handling. 1999-06-11 18:48:34 +00:00
Kurt Zeilenga
041c7971c4 Add AC_CANONICAL_SYSTEM to generate $target
Use $target instead of $host, maybe should use both $target and $host.
Fix $ol_host_os bug.
1999-06-11 18:24:18 +00:00
Kurt Zeilenga
da549e3a42 _SGI_MP_SOURCE errno/h_errno experiment 1999-06-11 00:07:10 +00:00
Kurt Zeilenga
35eff96dad Add Debug to help sort out race condition. 1999-06-10 22:21:51 +00:00
Kurt Zeilenga
368628e9d5 Close inactive streams instead of asserting condition. 1999-06-10 22:06:05 +00:00
Kurt Zeilenga
571e8c098d Add cheap EBADF loop protection. 1999-06-10 21:11:21 +00:00
Kurt Zeilenga
fde9d8702e Fix build_result_ber to construct a new ber and to set ld_errno appropriately. 1999-06-10 18:00:04 +00:00
Kurt Zeilenga
a40f92813d Update AIX thread test. 1999-06-10 17:19:43 +00:00
Kurt Zeilenga
9c793f15f4 Fix typo in last commit. 1999-06-10 15:55:00 +00:00
Kurt Zeilenga
feb28db2a1 Add basic regex compatibility test. 1999-06-10 04:00:27 +00:00
Kurt Zeilenga
446ef413f6 Don't shutdown when select() returns EBADF. 1999-06-10 03:11:22 +00:00
Kurt Zeilenga
64bb1a99f4 Fix unprotected (and bad) FD_SET asserts. 1999-06-10 02:52:51 +00:00
Juan Gomez
fac246b834 Sync this files for this example to work properly. 1999-06-10 01:25:55 +00:00
Kurt Zeilenga
f34c94e5d5 Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
Fix LDAP_MEMORY_DEBUG realloc size bug, thanks Alex.
1999-06-10 00:56:00 +00:00
Kurt Zeilenga
2c4a3c8442 really commit the sizeof(int) < 4 warning 1999-06-10 00:54:47 +00:00
Kurt Zeilenga
5555cc26b9 disable referral directive. 1999-06-09 23:43:22 +00:00
Kurt Zeilenga
47150734f8 In preparation for IETF draft ldap c-api changes, 'int' must be 32 bits
or larger.
1999-06-09 20:37:31 +00:00
Julio Sánchez Fernández
92839e817f Fixed inconsistent management of white space that was producing parsing
problems in slapd.
1999-06-09 11:51:31 +00:00
Julio Sánchez Fernández
63498d1a21 Removed unnecessary definition that is already in core.schema. 1999-06-09 11:08:10 +00:00
Kurt Zeilenga
9778c97837 Fail depend test if .o is generated. 1999-06-09 02:41:58 +00:00
Kurt Zeilenga
0fabd22a3b Fix typos and bug in AIX cc_r detection. 1999-06-09 00:25:42 +00:00
Kurt Zeilenga
be991c81df Add test for BeOS's closesocket 1999-06-09 00:10:26 +00:00
Kurt Zeilenga
9e11b935b8 First cut at cc_r detection. Specific to AIX. See comment in
configure.in for details.
1999-06-08 23:32:36 +00:00
Kurt Zeilenga
deca38c9a9 Update build system to use output of new dependency generation detection
macros.  Proceedures for using alternative dependency generation
"compiler" and "flags" has changed.
    Pre-configure:
        env MKDEP=mycc MKDEP_FLAGS=myccflags ./configure
    Post-configure:
        hack top.mk and run ./config.status
1999-06-08 19:13:00 +00:00
Julio Sánchez Fernández
7c4fb74a19 Fixed some syntax errors. 1999-06-08 17:41:09 +00:00
Julio Sánchez Fernández
9291bf6f44 Added whitespace in output in a few places.
Minor cosmetic changes.
Fixed parsing of noidlen.
1999-06-08 17:40:27 +00:00
Kurt Zeilenga
30d8d40fa3 Use AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.
AC_CHECK_PROGS leaves CC alone of 'cc' is not found.
1999-06-08 03:44:35 +00:00
Kurt Zeilenga
e88a9dafc2 Only set CC=cc if test -z CC && cc exists in path... 1999-06-08 02:38:05 +00:00
Kurt Zeilenga
c6cf2815cb Add missing ';' after BER_MEM_VALID macro calls. 1999-06-08 01:41:38 +00:00
Kurt Zeilenga
82def24b31 don't test BER_MEM_VALID forever. 1999-06-08 01:37:47 +00:00
Kurt Zeilenga
a9fca665e6 OL_MKDEPEND: Round 2
now supports DETECTION using:
	./configure
	env MKDEP_FLAGS=-MM ./configure
	env MKDEP=foo ./configure (no tests, no flags)
	env MKDEP=foo MKDEP_FLAGS=-bar ./configure (no tests)
Exported AC_MKDEP and AC_MKDEP_FLAGS which can no be used
in build/*.mk
1999-06-08 01:33:36 +00:00
Kurt Zeilenga
b594f5209f First cut of OL_CC_DEPEND test. Attempts to detect the appropriate
flag to generate dependencies.  Output not used (yet).
1999-06-07 23:15:36 +00:00
Kurt Zeilenga
ca00536233 Minor clean of assert() and comments. 1999-06-07 23:12:34 +00:00