ldap and solaris 2.x

Paul Southworth (pauls@locust.cic.net)
Thu, 8 Dec 1994 21:01:37 -0500 (EST)

I have been massaging ldap 3.1b7 to work with Solaris without using the
evil and broken /usr/ucblib/libucb.a (you guys are nuts if you think it's
going to work well with that kludge).

Anyway, I'm about half done turning the Berkeleyisms into POSIX syntax
for Solaris; I've kept just about all the changes as defines in
include/lber.h and build/platforms/sunos5-gcc/Make-platform.

I am curious as to which define I should use to key the Solaris changes.
Should I use #ifdef sunos5, or should I try to be clever and use
pre-processor defines? __svr4__ && __sun__ would do it and should also be
true for Solaris 2.x on x86 with gcc (ie, we should avoid using
__sparc__), but I am not sure if those are true for the many Sun compilers
for this platform...

Also, is there a more recent version of the code that I should send you
diffs for?

Also, do you have a testing process I could use to torture this port when
it's done? We're going to have to use Solaris' native regexpr(3) functions
instead of re_exec() and re_comp() which makes me a little nervous.

--
Paul Southworth
CICNet Systems Support
pauls@cic.net