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

Re: nonstandard assumptions in the code



I wrote:

> Another non-ANSI thing: LBER_OPT_ON and LDAP_OPT_ON are #defined as
> ((void*)1).  There is no guarantee that this is != NULL (the *_OPT_OFF
> options).  I'll install this fix unless someone protests:
> 
>   liblber/options.c:
>     char lber_pvt_opt_on; /* used to get a non-NULL address for *_OPT_ON */
>   (...)

Correction: ber_pvt_opt_on.  That fits the other ber names.

-- 
Hallvard