[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Patch: Declare some undeclared TLS functions (ITS#1708)



I just noticed that ldap_pvt.h includes a decl for ldap_pvt_tls_get_ctx()
which doesn't appear to exist. Mebbe there was a function rename at some
point, thus
the missing ldap_pvt_tls_sb_ctx prototype...

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> h.b.furuseth@usit.uio.no
> Sent: Tuesday, April 02, 2002 12:50 AM
> To: openldap-its@OpenLDAP.org
> Subject: Patch: Declare some undeclared TLS functions (ITS#1708)
>
>
> Full_Name: Hallvard B. Furuseth
> Version: 2.1.0alpha
> OS: Linux
> URL: http://folk.uio.no/hbf/OpenLDAP/undeclared.txt
> Submission from: (NULL) (158.36.148.34)
>
>
> This patch declares some functions that are used but not declared.
>
> ldap_pvt_tls_sb_ctx() is the most important one, since it does not
> return int.  Casting the return type back to void*, like the code does
> now, only works if int and void* have the same size and casting doesn't
> change the value.
>