- LSPP patch fix (bug #213498).

- Resolves: rhbz#213498
This commit is contained in:
Tim Waugh 2006-11-02 11:39:16 +00:00
parent 405b2c1ae2
commit 29a5652f48
2 changed files with 4 additions and 1 deletions

View File

@ -1992,7 +1992,7 @@
fchown(cupsFileNumber(fp), RunUser, Group);
+#ifdef WITH_LSPP
+ if (strncmp(job->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
+ if (job->scon && strncmp(job->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
+ {
+ if (getfilecon(filename, &spoolcon) == -1)
+ {

View File

@ -426,6 +426,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd
%changelog
* Thu Nov 2 2006 Tim Waugh <twaugh@redhat.com>
- LSPP patch fix (bug #213498).
* Wed Nov 1 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.5-5
- Send QueueChanged D-Bus signal on all job state changes.