Commit Graph

1505 Commits

Author SHA1 Message Date
Hallvard Furuseth
d93ecb703a Update getopt() string and usage() 1999-04-01 22:31:24 +00:00
Hallvard Furuseth
d5938af750 Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2 1999-04-01 22:18:09 +00:00
Gary Williams
30a51ac013 create single-thread configurations 1999-04-01 21:46:48 +00:00
Gary Williams
604f34817a add client tools 1999-04-01 21:46:01 +00:00
Kurt Zeilenga
dda1fb4ba0 Updates for NT4 (MSVC5++).
Removed external include/library paths from projects.  External paths should
be set via Tools | Options | Directories.  This allows each developer the
freedom to install external libraries where they desire.
Used libdb.lib instead of libdbs.lib to avoid thread conflicts.
Added hs_regex.lib to library input.  We require some form of regex, this
library works (and is relatively easy for the user to install).
Removed a little lint which MCVC5 detected.
Need to sort out single-threaded vs multithreaded library generation.
1999-04-01 20:26:09 +00:00
Gary Williams
1b79f745fe enable debug output for NT 1999-04-01 16:39:36 +00:00
Gary Williams
92d4ccf906 NT port 1999-04-01 16:38:11 +00:00
Gary Williams
e5635b2662 NT port 1999-04-01 16:32:11 +00:00
Gary Williams
b454005ea8 NT port 1999-04-01 16:06:08 +00:00
Gary Williams
e86e39ad31 NT port 1999-04-01 16:00:24 +00:00
Gary Williams
3146c94e03 update project settings 1999-04-01 15:57:57 +00:00
Gary Williams
5fc6a9b0ca NT port 1999-04-01 15:51:11 +00:00
Gary Williams
e6b47355f9 NT port 1999-04-01 14:50:34 +00:00
Kurt Spanier
1c7ebc514f Some minor clean-up; checking bdb2 for sync with ldbm. 1999-04-01 09:58:36 +00:00
Juan Gomez
3b4fdbfeb3 Added full v2 and v3 support for MODRDN/MODDN. 1999-03-31 02:53:27 +00:00
Juan Gomez
3eaae95aa1 Back with previous change, use ac/time.h include instead. 1999-03-31 01:28:42 +00:00
Juan Gomez
bbff96dd90 Do include of sys/time.h to define struct timeval used in back-bdb2/add.c
and back-bdb2/compare.c.
1999-03-31 01:15:51 +00:00
Kurt Zeilenga
9b51f19e00 Make sure everything is up to date after MDBM changes. 1999-03-30 20:27:03 +00:00
Juan Gomez
4838a836df Added mdbm option for with-ldbm-api variable. 1999-03-30 19:46:52 +00:00
Kurt Zeilenga
058aad0312 Fix SLAPD_CONFIG_DN e_ndn bug. 1999-03-30 18:50:41 +00:00
Kurt Zeilenga
f2fee94114 remove libtool comment 1999-03-30 05:10:20 +00:00
Kurt Zeilenga
f626fbbd57 Rebuild configure due to MDBM addition. 1999-03-30 04:46:17 +00:00
Juan Gomez
8c23e997e9 MDBM support added. 1999-03-30 04:39:41 +00:00
Juan Gomez
01d9ac9168 MDBM Support added. 1999-03-30 04:39:08 +00:00
Juan Gomez
009038a795 MDBM detection feature. 1999-03-30 04:25:52 +00:00
Kurt Zeilenga
a95247a58a Add pthread_detach to -kthread test. 1999-03-30 04:07:16 +00:00
Kurt Zeilenga
da25203c58 IRIX (very strange) default libraries have working pthread_create() but
no pthread_detach().  So, augment pthread_create() in default libraries
test to detach created thread.
1999-03-30 00:07:37 +00:00
Kurt Spanier
80400aba52 Fix ldbmcat crash problem: first use the key before deleting it! 1999-03-29 16:01:59 +00:00
Kurt Zeilenga
b9109a9f20 add wait macros. add LDAP_SIGCHLD. and other misc NT cleanups. 1999-03-29 09:04:35 +00:00
Kurt Zeilenga
db721ca821 Add ioctl_t for arg type (Unix requires 'int', Winsock requires 'u_long'). 1999-03-29 05:28:29 +00:00
Kurt Zeilenga
ff23537bcb Rework ac/socket.h for HAVE_WINSOCK:
tcp_close -> closesocket
  ioctl -> ioctlsocket
Modify codes to use tcp_close() instead of close() for sockets.
Modify ioctl codes to be compatible with WINSOCK.
1999-03-29 05:15:59 +00:00
Kurt Zeilenga
30665cb19a Misc header cleanup 1999-03-29 02:07:18 +00:00
Kurt Zeilenga
618a788953 wrap sys/param.h with HAVE_SYS_PARAM_H... 1999-03-29 01:55:49 +00:00
Kurt Zeilenga
30f953160f Add wait4/3 detection.
Modify slapd_tester to use pid_t and wait macros.  May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
1999-03-29 01:40:17 +00:00
Kurt Zeilenga
598b7473fe All implementations of lutil_lockf (aka ldap_lockf) block until
the lock is acquired.  Add comments to that effect.  Remove
unnecessary busy loops from slapd/lock.c and slurpd/lock.c.
1999-03-28 22:43:43 +00:00
Kurt Zeilenga
f4161b5bf8 NT doesn't have waitpid() 1999-03-28 22:42:13 +00:00
Kurt Zeilenga
7adc0a65d0 Update lutil_lockf (aka: ldap_lockf) to hide implementation in
library, not header.  Eliminate need for <ac/unistd.h> to sometimes
include <fcntl.h> and/or <sys/file.h>.  Change lock API to expect
fd not FILE*.  Allows wider use and eliminates requirement that
lutil_lockf.h depencency on stdio.h.
Implemented lockf, fcntl, and flock locking in lutil/lockf.c.
Additional implementations (including no-op) may be needed.
Update slapd/lock.c and slurpd/lock.c to use new API.
1999-03-28 21:39:02 +00:00
Kurt Zeilenga
a45bbea505 Remove quick install guide from README, it's too quick. Update INSTALL. 1999-03-28 21:33:32 +00:00
Ben Collins
5c931bdffa If we are using lutil_lock functions then define NEED_SIMPLE_LOCKING or
liblutil/lockf.c wont be compiled.
1999-03-28 18:07:44 +00:00
Hallvard Furuseth
3f6dc76a59 Avoid integer truncation of v1->bv_len - v2->bv_len in value_cmp(,,SYNTAX_BIN,) 1999-03-28 01:40:54 +00:00
Hallvard Furuseth
2527e0d878 ROTATE<LEFT/RIGHT> error messages to stderr, not stdout 1999-03-27 18:12:58 +00:00
Hallvard Furuseth
dd44e1c28f Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs. 1999-03-27 18:05:33 +00:00
Hallvard Furuseth
a3bc2bbe63 free() -> ldap_memfree() change 1999-03-27 16:51:05 +00:00
Hallvard Furuseth
ac536906c5 Free() -> ldap_memfree() changes. Remove use of the return value of free(). 1999-03-27 16:43:56 +00:00
Hallvard Furuseth
4459780fb3 Add wait4child() 1999-03-27 16:21:44 +00:00
Kurt Zeilenga
ac6ececfee Remove release version number from README in -devel. 1999-03-26 21:11:13 +00:00
Kurt Zeilenga
12c3efb878 Replace -M with $CC_MKDEP_FLAGS in comment 1999-03-26 19:19:12 +00:00
Kurt Zeilenga
11add79cb1 Update locking codes. 1999-03-26 17:43:23 +00:00
Will Ballantyne
918b9f8d86 argh, somehow bdb2 version overwritten by ldbm version. Fixed. 1999-03-26 16:34:47 +00:00
Ben Collins
cfe36cb71f Added extra checks to locking definitions 1999-03-26 15:10:06 +00:00