[PATCH] Add stackframes to public libsmbclient functions

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Nov 19 15:24:18 GMT 2007


On Mon, Nov 19, 2007 at 10:13:23AM -0500, Derrell Lipman wrote:

> More importantly, I don't think that
> one should need to think about the needs of the lower layer.  The
> lower layer should be a black box with its inputs solely defined by
> its parameters, not by a required pair of function calls pre- and
> post-.
> 
> I still think there's a way to make use of what you've done, but it'll
> require more thought.

If you see any way without C++ destructors, I'd be happy to
see it. But before that we only have the option to remove
talloc_stackframe() again if you insist on every function
being completely isolated in this respect.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071119/c0462a17/attachment.bin


More information about the samba-technical mailing list