diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-27 16:44:52 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-27 16:44:52 +0000 |
| commit | a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b (patch) | |
| tree | 796c9a33dfe4dcdc09734dbba80b982aad4a9b98 /auto/os | |
| parent | 36aef0c383bfe285a12b4b826563a768efe181d6 (diff) | |
| download | nginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.gz nginx-a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b.tar.bz2 | |
Fixed more gcc46 warnings in configure tests.
Steps to reproduce:
./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
Diffstat (limited to 'auto/os')
| -rw-r--r-- | auto/os/solaris | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/os/solaris b/auto/os/solaris index 16da4b3fd..d39df0bf7 100644 --- a/auto/os/solaris +++ b/auto/os/solaris @@ -35,7 +35,8 @@ ngx_feature_path= ngx_feature_libs="-lsendfile" ngx_feature_test="int fd = 1; sendfilevec_t vec[1]; size_t sent; ssize_t n; - n = sendfilev(fd, vec, 1, &sent)" + n = sendfilev(fd, vec, 1, &sent); + if (n == -1) return 1" . auto/feature |
