]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Corrected cross-platform stat nanosecond code
authorDavid M. Lee <dlee@digium.com>
Wed, 5 Mar 2014 16:57:12 +0000 (16:57 +0000)
committerDavid M. Lee <dlee@digium.com>
Wed, 5 Mar 2014 16:57:12 +0000 (16:57 +0000)
commit5ab9e72ed33145159584ee62af3f04c8a2da4e2c
tree1915226c20042a8420b56528a1f2707965c2ad19
parent804ee2c7d035ebf610ee87995413aa99bf370391
Corrected cross-platform stat nanosecond code

When nanosecond time resolution was added for identifying config file
changes, it didn't cover all of the myriad of ways that one might obtain
nanosecond time resolution off of struct stat.

Rather than complicate the #if even further figuring out one system from
the next, this patch directly tests for the three struct members I know
about today, and #ifdef's accordingly.

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

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

Merged revisions 409834 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configure
configure.ac
include/asterisk/autoconfig.h.in
main/config.c