BINARY_ARRAY_SEARCH ?
tridge at samba.org
tridge at samba.org
Sat Feb 13 04:40:03 MST 2010
Hi Volker,
> btw, it's been quite common for us to have problems with qsort() in
> Samba because it isn't type safe (it can be a surprisingly tricky
> function to use). I wonder if we should wrap it in a type-safe macro?
I've now done this, adding lib/util/tsort.h which defines
TYPESAFE_QSORT()
I've converted over the s4 code to use it. Do you have any objections
to me patching s3 to use it as well?
Cheers, Tridge
More information about the samba-technical
mailing list