]> git.ipfire.org Git - thirdparty/cups.git/commit
Add new cupsdUnlinkOrRemoveFile function and use it to avoid extraneous use of
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 8 Mar 2013 00:45:54 +0000 (00:45 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 8 Mar 2013 00:45:54 +0000 (00:45 +0000)
commitc0e8699f90fd6087af1e5396e670c0713b0f7139
tree2253a7b1eb393e22c482f65e4392240d8c5b0867
parent59521fb102edd5186474495c05986368829080af
Add new cupsdUnlinkOrRemoveFile function and use it to avoid extraneous use of
the secure removal function.

Change from a 7-pass algorithm to a 1-pass algorithm - no current drive needs
7 passes anymore, and 7 passes causes unnecessary wear-and-tear on SSDs/flash.

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