-CHANGES.txt - 2.2b1 - 2016-03-09
+CHANGES.txt - 2.2b1 - 2016-03-10
--------------------------------
CHANGES IN CUPS V2.2b1
+ - The scheduler did not cancel multi-document jobs immediately
+ (<rdar://problem/24854834>)
- The scheduler did not return non-shared printers to local clients
unless they connected to the domain socket (<rdar://problem/24566996>)
- The scheduler now reads the spool directory if one or more job cache
/*
- * "$Id$"
- *
* Main loop for the CUPS scheduler.
*
* Copyright 2007-2016 by Apple Inc.
* filters are done, and if so move to the next file.
*/
- if (job->current_file < job->num_files && job->printer)
+ if (job->state_value >= IPP_JOB_CANCELED)
+ {
+ /*
+ * Remove the job from the active list if there are no processes still
+ * running for it...
+ */
+
+ for (i = 0; job->filters[i] < 0; i++);
+
+ if (!job->filters[i] && job->backend <= 0)
+ cupsArrayRemove(ActiveJobs, job);
+ }
+ else if (job->current_file < job->num_files && job->printer)
{
for (i = 0; job->filters[i] < 0; i ++);
cupsdContinueJob(job);
}
}
- else if (job->state_value >= IPP_JOB_CANCELED)
- {
- /*
- * Remove the job from the active list if there are no processes still
- * running for it...
- */
-
- for (i = 0; job->filters[i] < 0; i++);
-
- if (!job->filters[i] && job->backend <= 0)
- cupsArrayRemove(ActiveJobs, job);
- }
}
}
exit(status);
}
-
-
-/*
- * End of "$Id$".
- */