svn commit: samba r22743 -
in branches/SAMBA_4_0/source/lib/charset: .
Stefan (metze) Metzmacher
metze at samba.org
Mon May 7 14:51:24 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
simo schrieb:
> talloc_set_name_const() must be used _only_ with real const values as
> the name suggests. And copying the value would be a waste of memory and
> will get outdated after further manipulation.
Hi Simo,
you mix 'const' and 'static const' here.
and all other functions in lib/talloc/ do the same
and also take care that tc->name always points to a valid string.
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGPzzsm70gjA5TCD8RAlPaAJ41YkfbYiTPSbeOov9sHHVaKOyMBQCgxy8c
bpSe6cJ1D8F3P1vzuULaQSw=
=Er9j
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list