Subject Re: isc_interprete/fb_interprete...A Stupid Question...
Author federonline
--- In firebird-support@yahoogroups.com, "federonline" wrote:
>
> Hi...I admit to being tired and a bit lazy on this...
>
> I'm debugging with valgrind and got a warning that isc_interprete is
> depricated. In looking through the header file, I see that
> fb_interprete is there with an added argument. Is the difference
> documented in the FB Book or somewhere else?
>
> Also, is there a better way to set USER/PASS than isc_expand_dpb
> (since it is also depricated)?
>
> I'm using:
> Ubuntu 8.04
> g++
> fb-super 2.1.1
>
>
> Thanks in advance...
> Kurt.
>

One last thing...valgrind gave me the following:
==8355== 156 (36 direct, 120 indirect) bytes in 1 blocks are
definitely lost in loss record 6 of 13
==8355== at 0x4022AE8: malloc (vg_replace_malloc.c:207)
==8355== by 0x44013E2: (within /lib/tls/i686/cmov/libc-2.7.so)
==8355== by 0x4401C2D: __nss_database_lookup (in
/lib/tls/i686/cmov/libc-2.7.so)
==8355== by 0x487FFDB: ???
==8355== by 0x488113C: ???
==8355== by 0x43ADD15: getpwuid_r (in /lib/tls/i686/cmov/libc-2.7.so)
==8355== by 0x43AD65D: getpwuid (in /lib/tls/i686/cmov/libc-2.7.so)
==8355== by 0x415D245: (within /usr/local/lib/libfbclient.so.2.1.0)
==8355== by 0x4186022: (within /usr/local/lib/libfbclient.so.2.1.0)
==8355== by 0x41874AA: (within /usr/local/lib/libfbclient.so.2.1.0)
==8355== by 0x418AE3D: (within /usr/local/lib/libfbclient.so.2.1.0)
==8355== by 0x4172F87: isc_attach_database (in
/usr/local/lib/libfbclient.so.2.1.0)

I don't know if this is a known issue or whether I'm using something
incorrectly, creating a leak.

Thanks again...
Kurt.