libreplace vs. PARANOID_MALLOC_CHECKER

tridge at samba.org tridge at samba.org
Tue Oct 17 06:19:27 GMT 2006


James,

 > Now, obviously this case is fixable, but IMO the #ifdef'ery performed by
 > libreplace is fragile and likely to keep stumbling over similar
 > breakage. Is there any reason why I can't have libreplace provide a real
 > symbol named strndup(), without the #define or any other funny business?

We used to use the non-define approach, and hit just as many
problems. Jelmer proposed that the define approach was less
problematic and we switched to that.

Cheers, Tridge


More information about the samba-technical mailing list