[PATCH] lib/tdb: TDB_TRACE support (for developers)

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Aug 27 23:08:51 MDT 2009


On Fri, Aug 28, 2009 at 02:25:45PM +0930, Rusty Russell wrote:
> +#ifdef TDB_TRACE
> +	{
> +		char tracefile[strlen(name) + 32];
> +
> +		snprintf(tracefile, sizeof(tracefile),
> +			 "%s.trace.%li", name, (long)getpid());

Do we have variable array sizes available everywhere?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090828/1d80b198/attachment.pgp>


More information about the samba-technical mailing list