From: msweet *APBookFile: "file URL" This string attribute specifies the Apple help book file to use when
-looking up IPP reason codes for this printer driver. The
-cupsIPPReason attribute maps
-"help" URIs to this file. Example: *APDialogExtension: "/Library/Printers/vendor/filename.plugin"Mac OS X Attributes
-APBookFile
-
-
-*APBookFile: "file:///Library/Printers/vendor/Help/filename"
-
-
Mac OS X 10.3APDialogExtension
Also see the related cupsBackSide attribute.
+*APHelpBook: "file URL"
+ +This string attribute specifies the Apple help book file to use when +looking up IPP reason codes for this printer driver. The +cupsIPPReason attribute maps +"help" URIs to this file.
+ +Example:
+ ++*APHelpBook: "file:///Library/Printers/vendor/Help/filename" ++
*APPrinterIconPath: "/Library/Printers/vendor/filename"
diff --git a/scheduler/auth.c b/scheduler/auth.c index ce62b7154f..c12592cda8 100644 --- a/scheduler/auth.c +++ b/scheduler/auth.c @@ -662,7 +662,6 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */ cupsdLogMessage(CUPSD_LOG_ERROR, "cupsdAuthorize: pam_start() returned %d (%s)!\n", pamerr, pam_strerror(pamh, pamerr)); - pam_end(pamh, 0); return; } diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 2c1ae3050d..b53aa0f9fa 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -2923,6 +2923,13 @@ apple_register_profiles( cups_array_t *languages; /* Languages array */ + /* + * Make sure ColorSync is available... + */ + + if (CMRegisterColorDevice == NULL) + return; + /* * Try opening the PPD file for this printer... */ @@ -3164,7 +3171,12 @@ static void apple_unregister_profiles( cupsd_printer_t *p) /* I - Printer */ { - CMUnregisterColorDevice(cmPrinterDeviceClass, _ppdHashName(p->name)); + /* + * Make sure ColorSync is available... + */ + + if (CMUnregisterColorDevice != NULL) + CMUnregisterColorDevice(cmPrinterDeviceClass, _ppdHashName(p->name)); } #endif /* __APPLE__ */