svn commit: samba r22418 - in branches/SAMBA_3_0/source: . include lib nsswitch smbd

James Peach jpeach at samba.org
Sat Apr 21 21:54:42 GMT 2007


On 21/04/2007, at 2:52 PM, Jeremy Allison wrote:

> On Sat, Apr 21, 2007 at 02:48:59PM -0700, James Peach wrote:
>
>> On OS X, the launchd APIs are system libraries, so I'm not sure why
>> the GPL-compatibility of the source is a issue.
>
> Ok, not a problem, thanks :-).
>
>> Sure, I'd be happy to refactor this. Can you give me some suggestions
>> about how you'd like this to be done?
>
> Not really at the moment (very jet-lagged :-) but I know
> what I don't like when I see it :-) :-).
>
> Is there any way to abstract out the launchd
> functionality into a function set that a
> launchd-specific module fills in and non-launchd
> systems vector to something that looks like
> our old code ?

Yeh, that's what I was doing with the init_sockets_smbd and  
init_sockets_launchd. It would be very easy to stuff these behind a  
single function that does the right thing.

--
James Peach | jpeach at samba.org




More information about the samba-technical mailing list