Patch for parallel.c

Michael Sweet mike at easysw.com
Thu Aug 26 10:47:10 PDT 2004


Godfried wrote:
> Hi all,
> 
> I found cups very good, there was only one annoying feature/bug. When
> my printer is off, the backend blocks at a write system call. When I
> switch on the printer, the job doesn't print well, and I had to
> restart the job.
> 
> I changed the mode of the lp-device to non blocking, and check for
> EAGAIN. Now it works fine.
> 
> I add the diff output.
> 
> Perhaps you like it, perhaps 12000 people already changed it, but for
> me it works great.

Can you file this as a STR at:

     http://www.cups.org/str.php

Also, the preferred format for diffs is the unified (-u) variety
since it provides the necessary context info to avoid problems when
we apply it to a newer version of the file...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list