[SSSD] NSS: Add config option to expand homedir template format

Simo Sorce simo at redhat.com
Mon Jun 2 16:18:02 UTC 2014


On Mon, 2014-06-02 at 18:15 +0200, Jakub Hrozek wrote:
> On Mon, Jun 02, 2014 at 12:01:14PM -0400, Simo Sorce wrote:
> > > We have a ZERO_STRUCT call precisely for this reason.
> > 
> > If it is on the stack, we can simply declare it with a C99 initializer
> > of 0 ?
> > Or is this structure reused (hence needs resetting) more than once ?
> > 
> > Simo.
> 
> btw both clang and gcc complain about uninitialized struct in this
> case. I consider that a compiler bug, bug it's annoying anyway..

If you set "struct foo var = { 0 };" ?
That would be odd.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list