]> git.ipfire.org Git - thirdparty/cups.git/commit - scheduler/job.c
Clean up the job pipe handling.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 17 Mar 2006 17:47:20 +0000 (17:47 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 17 Mar 2006 17:47:20 +0000 (17:47 +0000)
commitb467d51b99adfe0c0c1fd3efb5e453097c017394
treecb1d122b996adfa4baa1b28973676dfebc7011a7
parent78e99b1456e9d0f43efd340618517079057c022a
Clean up the job pipe handling.

scheduler/job.c:
    - cupsdStartJob(): Add abort_job label with job abort code
      and use goto for common job abort logic; also close all
      status pipes.

scheduler/main.c:
    - cupsdOpenPipe(): Reset file descriptors to -1 on error.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5299 7a7537e8-13f0-0310-91df-b6672ffda945
scheduler/job.c
scheduler/main.c