Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4303 - trunk/auto

Anonymous User
November 21, 2011 06:52AM
Author: maxim
Date: 2011-11-21 11:51:41 +0000 (Mon, 21 Nov 2011)
New Revision: 4303

Log:
o AIX 7 defines sys_nerr in errno.h, therefore <errno.h> included
in the sys_nerr test.

o When sys_nerr and _sys_nerr are missed on a particular platform
and our euristic for a maximum errno detection applied always
print the maximum errno number we reached instead of printing void.[*]

* patch from Maxim Dounin

This commit makes possible to build nginx on AIX 7.1.


Modified:
trunk/auto/unix

Modified: trunk/auto/unix
===================================================================
--- trunk/auto/unix 2011-11-21 09:20:50 UTC (rev 4302)
+++ trunk/auto/unix 2011-11-21 11:51:41 UTC (rev 4303)
@@ -496,7 +496,8 @@
ngx_feature="sys_nerr"
ngx_feature_name="NGX_SYS_NERR"
ngx_feature_run=value
-ngx_feature_incs='#include <stdio.h>'
+ngx_feature_incs='#include <errno.h>
+ #include <stdio.h>'
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test='printf("%d", sys_nerr);'
@@ -538,10 +539,10 @@
|| p == NULL
|| strncmp(p, "Unknown error", 13) == 0)
{
- printf("%d", n);
- return 0;
+ break;
}
- }'
+ }
+ printf("%d", n);'
. auto/feature
fi


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4303 - trunk/auto

Anonymous User 1506 November 21, 2011 06:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready