New talloc feature: memlimits

David Disseldorp ddiss at suse.de
Fri Oct 5 07:36:42 MDT 2012


Hi Simo,

On Sat, 29 Sep 2012 00:45:20 -0400
simo <idra at samba.org> wrote:

> You can find it here:
> https://git.samba.org/idra/samba.git/?p=idra/samba.git;a=shortlog;h=refs/heads/talloc_memlimit

Could you please avoid the nested returns in the TALLOC_MEMLIMIT_*
macros? As discussed previously, macros that affect control flow break
the internal parsers of those who read the code[1].

Cheers, David

1) http://lists.samba.org/archive/samba-technical/2012-May/084115.html


More information about the samba-technical mailing list