New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved launchd support #2083
Comments
CUPS.org User: mike Fixed in Subversion repository. |
"launchd.patch": Index: main.c--- main.c (revision 6073)
#ifdef HAVE_LAUNCHD
+#ifdef HAVE_LAUNCHD /*
@@ -761,7 +770,7 @@ #if HAVE_LAUNCHD
@@ -1082,6 +1091,12 @@ launchd_sync_conf();
#ifdef __sgi
+/*
/*
/*
- */
- kCFBooleanFalse);-#ifdef LAUNCH_JOBKEY_SERVICEIPC
- CFDictionaryAddValue(sockets, CFSTR("Listeners"), array);
-# ifdef AF_LOCAL
- }
- kCFNumberIntType, &portnum);
- }
- }
- }
- */
- CFArrayAppendValue(array, listener);
- CFSTR("dgram"));
- &BrowsePort);
- CFRelease(value);
- }
- }
- }
- }
- */
|
Version: 1.2-current
CUPS.org User: jlovell
The optimization to not rewrite the launchd conf file org.cups.cupsd.plist would fail after an upgrade install. The correct way to do this is to compare the file contents rather than relying on stat(2) modification times. The attached patch does this.
Thanks!
The text was updated successfully, but these errors were encountered: