On Wed, Jan 14, 2009 at 02:25:33AM -0500, Matt McCutchen wrote: > I think I'll take the opportunity to improve the design a bit by > actually adding a section structure representing the global values of > section parameters to the global structure
I was thinking we could get rid of the big, must-keep-sorted, statically initialized structure and make use of the init_globals() function to set the initial values. However, if you've got something you've done already, I'd be glad to consider it. > I noticed that FN_LOCAL_STRING works differently from the other > FN_LOCAL_* in that it goes back to sDefaults if a valid module number > is given but the module contains a NULL value. It's the only one that is a pointer instead of a value, but I haven't yet looked to see if there was a way for a section to get a NULL pointer where the sDefault value is non-NULL. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html