[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-289-gc624a70

Jelmer Vernooij jelmer at samba.org
Sun Jul 12 20:09:58 MDT 2009

Volker Lendecke wrote:
> On Fri, Jul 10, 2009 at 11:26:44AM +1000, Andrew Bartlett wrote:
>> Did you consider instead changing them to call
>> ldb_binary_encode_string()?
> Well, being blunt, you know how I think about dependencies
> on ldb.
> Can't we put those functions that are of more general use
> into a separate codebase? I've just come across the base64
> routines that might benefit from the same. Looking at
> heimdal for example, this has the base64 routines in roken.
> To not create a dependency on talloc, what about putting
> the base64 routines into libreplace? Both would
> encode/decode into a preallocated buffer, for decode it
> would be safe to use it in-place.
Libreplace contains replacements only for things that don't exist on
some platforms but do exist on other (saner) platforms. If there's no
platforms that provide base64 functions in their libc, perhaps they
could live in lib/util/?



More information about the samba-technical mailing list