diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-18 23:58:51 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-18 23:58:51 +0000 |
commit | e2cff3939787eafa213a2db6bd7d056cbabc63f8 (patch) | |
tree | e37319e4bc3621bd1b9a9aa1388ba828077e17e4 /configure | |
parent | 6a59a8232e102845b43547608ed3b0672b806093 (diff) |
Actually check the return value of epoll_create to make sure it works.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79972 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15636,7 +15636,11 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -epoll_create(10); +int res = epoll_create(10); + if (res < 0) + return 1; + close (res); + return 0; ; return 0; } |