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

Re: ber_int_options.lbo_valid ?

Howard Chu writes:
> This field is gratuitously set to LBER_INITIALIZED throughout some
> heavily used liblber routines.  There appears to be only one place
> where the value is ever checked (in ber_set_option).

What will you replace it with?

Its function seems to be (slightly simplified):
When a ber_set_option(,LBER_OPT_MEMORY_FNS,) call is the first call to
liblber, then set the ber memory functions.  Otherwise return failure,
since liblber is likely already using some other memory functions.