Tilghman Lesher
e36e50146a
Err, oops. Made it const to verify that it wasn't altered, but forgot to revert before commit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@295031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-15 18:05:49 +00:00
Tilghman Lesher
0cab9a1db8
Create test verifying results of expression parser
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@295026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-15 17:58:37 +00:00
Tilghman Lesher
ab40f7e68d
Fix Mac OS X build.
...
This also fixes a rather grievous calculation error for the offset of
ast_fdset, which was masked on Linux and FreeBSD, because these platforms
check the first 256 FDs regardless of the bitmask setting (due to backwards
compatibility).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@285889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-10 00:13:45 +00:00
Tilghman Lesher
408cf5d2a2
Ensure that all areas that previously used select(2) now use poll(2), with implementations that need poll(2) implemented with select(2) safe against 1024-bit overflows.
...
This is a followup to the fix for the pthread timer in 1.6.2 and beyond, fixing
a potential crash bug in all supported releases.
(closes issue #17678 )
Reported by: russell
Branch: https://origsvn.digium.com/svn/asterisk/team/tilghman/ast_select
Review: https://reviewboard.asterisk.org/r/824/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@284478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-01 18:49:11 +00:00
Russell Bryant
b9e03e6c8b
Backport applicable parts of test_astobj2.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@272881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-28 18:47:29 +00:00
Russell Bryant
0dbe3c9921
Backport unit test API to 1.4.
...
Review: https://reviewboard.asterisk.org/r/750/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@272878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-28 18:34:18 +00:00