]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r249406
authorgahr <gahr@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Jun 2013 16:50:05 +0000 (16:50 +0000)
committergahr <gahr@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Jun 2013 16:50:05 +0000 (16:50 +0000)
commit32ac8727bd4f427e2a2990af75915cbd4058bca4
tree2afcf386182f37f866cc16ed066583bade0b6ff4
parent9e49d379e1d47a85974590cae1e5f7699ca3731c
MFC: r249406

- Do not bail out if stat(2) fails with ENOENT in the spool directory. This
  happens if another atrm process removes a job while we're scanning through
  the directory.
- While at it, optimize a bit the directory scanning, so that we quit
  looping as soon as all jobs specified in argv have been dealt with.

Approved by: cognet

git-svn-id: svn://svn.freebsd.org/base/stable/8@252034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/at/at.c