From a3bdd737e5c5feb3ef7b341fd9f84c5d83d3340b Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 27 Mar 2012 16:44:52 +0000 Subject: Fixed more gcc46 warnings in configure tests. Steps to reproduce: ./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2" --- auto/os/solaris | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auto/os') 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 -- cgit