]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r249406
authorgahr <gahr@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Jun 2013 16:51:25 +0000 (16:51 +0000)
committergahr <gahr@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Jun 2013 16:51:25 +0000 (16:51 +0000)
commit5b95634cf0d0a5db20decbd66d276db609f52fce
treeed63ee5cde3cac48618183fe8f2914a243ada45f
parentb19cee62eba9817f9fd04945fc27191f26ef2c5a
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/9@252035 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/at/at.c