Improved network interface support on MacOSX #2085
Comments
CUPS.org User: mike OK, I've tweaked your changes slightly - basically, now we'll depend on NetIFUpdate on all platforms, with the old timeout logic being used on operating systems without the system management support. That should make adding the D-BUS stuff for Linux simpler (they have a similar set of network change notifications now) and limits the number of time() calls we do otherwise... |
"sysman.patch": Index: scheduler/sysman.c--- scheduler/sysman.c (revision 6073)
- */- NetIFTime = time(NULL) - 58;
keys = CFArrayCreate(NULL, (const void *)key, if (CFArrayContainsValue(changedKeys, range, ComputerNameKey)) threadData->sysevent.event |= SYSEVENT_NAMECHANGED;
/*
CFRunLoopTimerSetNextFireDate(threadData->timerRef,
Index: scheduler/network.c--- scheduler/network.c (revision 6073) +#ifdef APPLE
NetIFTime = time(NULL); /*
+#ifdef APPLE
|
Version: 1.2-current
CUPS.org User: jlovell
Improved network interface support on MacOSX
See attached patch.
Thanks.
The text was updated successfully, but these errors were encountered: