Mercurial > hg > nginx
diff auto/os/linux @ 4543:51744fa997c7
Fixed compilation warnings in configuration C tests.
Based on a patch by Piotr Sikora.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 15 Mar 2012 20:39:38 +0000 |
parents | d620f497c50f |
children | f31162fefe01 |
line wrap: on
line diff
--- a/auto/os/linux Thu Mar 15 20:08:58 2012 +0000 +++ b/auto/os/linux Thu Mar 15 20:39:38 2012 +0000 @@ -52,7 +52,7 @@ ngx_feature_incs="#include <sys/epoll.h>" ngx_feature_path= ngx_feature_libs= -ngx_feature_test="int efd = 0, fd = 1, n; +ngx_feature_test="int efd = 0; struct epoll_event ee; ee.events = EPOLLIN|EPOLLOUT|EPOLLET; ee.data.ptr = NULL; @@ -142,7 +142,7 @@ ngx_feature_path= ngx_feature_libs=-lcrypt ngx_feature_test="struct crypt_data cd; - crypt_r(NULL, NULL, &cd);" + crypt_r(\"key\", \"salt\", &cd);" . auto/feature