Spotlight support
Jeremy Allison
jra at samba.org
Thu Apr 10 11:29:58 MDT 2014
On Thu, Apr 10, 2014 at 07:18:57PM +0200, Ralph Böhme wrote:
>
> So the nice thing is, it's all text. The bad thing is, ...
>
> > Is it at all documented?
>
> ...it's completey undocumented. :)
Haha. Why am I 'not at all surprised' :-).
Still - this looks like fantastic work !
> > I'll take a closer look in the coming days. Just a comment from
> > skimming through: please avoid the macros added with
> > https://github.com/slowfranklin/samba/commit/49d75640a2c58f8c6b0a00aae6920be9f38c6678
> >
> > They're generally frowned upon, as they affect control-flow (by jumping
> > a magic label), and also rely on externally defined variables.
>
> they're actually local variables and imo well defined and consistent
> error checking is the best thing since sliced break. :)
True. But control-flow-macros are the devils own tool :-).
> Anyway, I'm
> not eager to introduce this idiom and can exchange that for explicit
> gotos.
Thanks ! Please don't use control-flow-macros in new code !
Jeremy.
More information about the samba-technical
mailing list