[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
liblber, sockbuf drivers
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: liblber, sockbuf drivers
- From: Howard Chu <hyc@symas.com>
- Date: Sun, 23 Dec 2007 14:38:26 -0800
- User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.9b3pre) Gecko/2007121901 SeaMonkey/2.0a1pre
One of the things that often concerned me is that we have socket calls and
references to errno in liblber, which is built as non-threaded code, but
"errno" changes on many platforms in a threaded process. I was thinking that
we should move the actual network I/O drivers out of liblber and into libldap,
so that they'll be compiled correctly (with libldap_r) for their actual
runtime environment.
Not that I can point to any specific platform where this has been a problem.
Just thinking out loud.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/