Fix occasional incorrectly delayed call-file execution.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 13 Feb 2012 22:04:46 +0000 (22:04 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 13 Feb 2012 22:04:46 +0000 (22:04 +0000)
commitb978e785ddaa2179b467051e8b70451ee5e42ec5
tree4b3cda0db0fa0339b0da6e2dd74a63530320684e
parentd8af1a48824537495db92b8c0c43ce5388032729
Fix occasional incorrectly delayed call-file execution.

Since the dir timestamp is available at one second resolution, we cannot
know if it was updated within the same second after we scanned it.
Therefore, we will force another scan if the dir was just modified.

* Changed to force another scan if the directory was just modified.

(closes issue ASTERISK-19081)
Reported by: Knut Bakke

Review: https://reviewboard.asterisk.org/r/1688/
........

Merged revisions 355056 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 355057 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_spool.c