Kurt Zeilenga
120b7fedae
Add strdup.c from -llutil, renamed to ldap_strdup() and always used.
...
This will allow us to substitute malloc() at a later date.
1998-11-20 07:02:39 +00:00
Kurt Zeilenga
05059be190
Update INSTALL/README files with references to new documents.
...
Added new developer todo list.
1998-11-20 03:12:46 +00:00
Kurt Zeilenga
15c9883a7a
Added some additional guidelines and clarified some existing points.
1998-11-20 01:59:16 +00:00
Hallvard Furuseth
9fb92703da
Guidelines for developers in doc/devel/, added doc/install for installation info
1998-11-19 20:59:21 +00:00
Hallvard Furuseth
c24d932b02
add ldap_strdup and eliminate strdup in libldap
1998-11-19 06:18:23 +00:00
Hallvard Furuseth
ad9a9ac8bc
Add "avoid extern in .c files".
1998-11-19 04:49:01 +00:00
Hallvard Furuseth
1479cf39e4
Added a file with coding rules and hints for OpenLDAP developers.
1998-11-19 04:38:05 +00:00
Kurt Zeilenga
cbf7c28c0a
Support $LDAPRC to specify fullpath to additional rc file
...
Don't support ./.ldaprc... can be spoofed to easily.
1998-11-19 03:55:56 +00:00
Hallvard Furuseth
990f15d15d
pass struct in_addr.s_addr*, not long*, to gethostbyaddr
1998-11-19 03:02:33 +00:00
Kurt Zeilenga
1b51fc23f3
Check in default ldap.conf file
1998-11-19 02:10:52 +00:00
Kurt Zeilenga
2d876eb74e
Update comments associated with SIGUSRx -> LDAP_SIGUSRx change.
1998-11-19 01:18:24 +00:00
Kurt Zeilenga
bbdac6ebca
debug messages incorrectly said "add" instead of "remove".
1998-11-18 20:27:21 +00:00
Kurt Zeilenga
e622bc85f8
free parent's reader lock. Thanks Gary!
1998-11-18 20:20:54 +00:00
Kurt Zeilenga
1fbe517aaf
Update configure.
1998-11-18 20:12:31 +00:00
Kurt Zeilenga
9f55887315
wrap include fcntl.h with HAVE_FCNTL_H
1998-11-18 20:11:15 +00:00
Kurt Zeilenga
2a0715d947
Remove lint in UserDirectory found on NT
1998-11-18 20:08:02 +00:00
Kurt Zeilenga
8be224a80e
Add headers to resolve implicit declaration warnings.
1998-11-18 18:11:55 +00:00
Kurt Zeilenga
3111cfa3bd
Update LinuxThread signal handling. Hide #ifdef hell in ac/signal.h.
1998-11-18 17:45:32 +00:00
Kurt Zeilenga
499735fec6
OBJS: passwd.c -> passwd.o (I thought I already fixed this once)
1998-11-18 16:15:10 +00:00
Kurt Zeilenga
6d2f28c080
Protect strdup/memcmp from macro subsitution. Let compiler pick registers.
1998-11-18 16:13:51 +00:00
Kurt Zeilenga
3474bbaed5
Need to add SIZEOF defines.
1998-11-18 06:10:11 +00:00
Kurt Zeilenga
a8586a141b
Fix multiple define protection.
1998-11-18 05:11:12 +00:00
Kurt Zeilenga
f05554bddc
Shouldn't have removed uint32's multiple defined protection...
1998-11-18 05:09:05 +00:00
Kurt Zeilenga
bda79e1324
Add missing check for crypt.h
...
Sync portable.h.nt with portable.h.in
1998-11-18 04:48:16 +00:00
Kurt Zeilenga
fb7d6ce5df
Move byte orderring stuff to ac/bytes.h
1998-11-17 22:49:47 +00:00
Kurt Zeilenga
05e597d869
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.
1998-11-17 22:49:15 +00:00
Kurt Zeilenga
a240efce5c
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.
1998-11-17 19:44:59 +00:00
Kurt Zeilenga
5413a9598a
NT doesn't have fork. Need to define HAVE_SPAWNLP
1998-11-17 19:14:11 +00:00
Kurt Zeilenga
34780e1dc3
Remove recently added externs. Some may not actually be bogus.
1998-11-17 19:08:29 +00:00
Kurt Zeilenga
da42acb93a
Update handling of string headers.
...
Update NT port.
1998-11-17 19:05:48 +00:00
Hallvard Furuseth
e4171a78db
Back out probable fix to strange alignment code
1998-11-17 17:44:50 +00:00
Hallvard Furuseth
b581bdd23c
Back out K&Rification change; would only be needed in ldap.h and lber.h.
1998-11-17 04:07:31 +00:00
Hallvard Furuseth
b1ab654fbe
Kill off #elif in ldap/include/. K&R does not support it.
1998-11-17 01:25:45 +00:00
Kurt Zeilenga
86fc474a50
Make sure tblsize in initialized in ldap_new_select_info()
...
Regenerate configure.
1998-11-16 23:55:37 +00:00
Kurt Zeilenga
b5494457d8
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.
1998-11-16 05:07:27 +00:00
Kurt Zeilenga
24c5b0e791
Add checks for string.h and strings.h and apply them in generic header.
1998-11-16 02:02:45 +00:00
Kurt Zeilenga
b8d552b9b3
Update pthread preemptive test. Still needs work.
1998-11-16 00:52:15 +00:00
Hallvard Furuseth
7e6ad5100c
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.
1998-11-15 22:40:11 +00:00
Kurt Zeilenga
1c91859e9b
Remove #ifdef sunos in lthread HAVE_LWP code.
1998-11-15 22:05:28 +00:00
Hallvard Furuseth
63a818078c
Added declarations of common str*() functions
1998-11-15 21:52:56 +00:00
Kurt Zeilenga
d0942df6c9
Add check to see if errno is always thread specific.
...
If it is not, then everything must use threading libraries.
1998-11-15 20:55:17 +00:00
Kurt Zeilenga
e4a210b017
fix typo in previous commit.
1998-11-15 15:05:22 +00:00
Kurt Zeilenga
5310070b38
don't assume NULL is zero.
1998-11-15 06:55:20 +00:00
Kurt Zeilenga
a8f7f0b3c7
Use "generic" ac headers.
1998-11-15 06:54:30 +00:00
Kurt Zeilenga
f2aa11550e
Pthread library check. Autoconf uses same cache variable based
...
upon library and function, but not secondary libraries. Must use
different functions in such cases.
1998-11-13 04:28:56 +00:00
Hallvard Furuseth
4ed85bbbb4
Removed space in front of #endif';
make depend' did not like it.
1998-11-13 03:06:54 +00:00
Kurt Zeilenga
3206b1b794
Eliminate #ifdef DOS
1998-11-12 23:28:47 +00:00
Kurt Zeilenga
5c2334c8a4
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
1998-11-12 23:25:53 +00:00
Kurt Zeilenga
8f11966bff
Modified UD as necessary to compile and link under NT.
1998-11-12 23:19:16 +00:00
Kurt Zeilenga
a9d6d0c6a1
Move extern declarations to headers.
...
Update NT portable.h and features.h
1998-11-12 21:07:28 +00:00