[PATCH] Fix bug 11175 - Lots of winbindd zombie processes on Solaris platform

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Mar 23 15:43:41 MDT 2015


On Mon, Mar 23, 2015 at 02:29:50PM -0700, Jeremy Allison wrote:
> On Mon, Mar 23, 2015 at 10:24:36PM +0100, Volker Lendecke wrote:
> > On Mon, Mar 23, 2015 at 02:09:35PM -0700, Jeremy Allison wrote:
> > >  
> > > +static void (*tdb_robust_mutex_setup_sigchild(void (*handler)(int)))(int)
> >                ^                                                      ^
> > 
> > Is this set of braces really necessary?
> 
> Compiler says yes :-).

Weird. I think I need to dig up my "Deep C Secrets" by Peter Van Der
Linden to really get what's going on here. 20 years of C, and you know
not enough....

Tomorrow :-)

Volker

P.S: The mentioned book is a bit outdated, but REALLY good. Still. Took
me a while until I got the point why it has a fish on the title... Like
"Thinking Forth" by Leo Brodie. Read that, and all the fancy "Better
Coding" books just fade.

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list