Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4682 - in trunk: auto src/http/modules

Anonymous User
June 08, 2012 05:42AM
Author: ru
Date: 2012-06-08 09:41:55 +0000 (Fri, 08 Jun 2012)
New Revision: 4682
URL: http://trac.nginx.org/nginx/changeset/4682/nginx

Log:
Fixed spelling of "endianness", and called it "byte ordering" in the
user visible part.


Added:
trunk/auto/endianness
Removed:
trunk/auto/endianess
Modified:
trunk/auto/unix
trunk/src/http/modules/ngx_http_geo_module.c

Deleted: trunk/auto/endianess
===================================================================
--- trunk/auto/endianess 2012-06-05 14:02:03 UTC (rev 4681)
+++ trunk/auto/endianess 2012-06-08 09:41:55 UTC (rev 4682)
@@ -1,45 +0,0 @@
-
-# Copyright (C) Igor Sysoev
-# Copyright (C) Nginx, Inc.
-
-
-echo $ngx_n "checking for system endianess ...$ngx_c"
-echo >> $NGX_ERR
-echo "checking for system endianess" >> $NGX_ERR
-
-
-cat << END > $NGX_AUTOTEST.c
-
-int main() {
- int i = 0x11223344;
- char *p;
-
- p = (char *) &i;
- if (*p == 0x44) return 0;
- return 1;
-}
-
-END
-
-ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
- -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
-
-eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
-
-if [ -x $NGX_AUTOTEST ]; then
- if $NGX_AUTOTEST >/dev/null 2>&1; then
- echo " little endianess"
- have=NGX_HAVE_LITTLE_ENDIAN . auto/have
- else
- echo " big endianess"
- fi
-
- rm $NGX_AUTOTEST*
-
-else
- rm $NGX_AUTOTEST*
-
- echo
- echo "$0: error: can not detect system endianess"
- exit 1
-fi

Copied: trunk/auto/endianness (from rev 4681, trunk/auto/endianess)
===================================================================
--- trunk/auto/endianness (rev 0)
+++ trunk/auto/endianness 2012-06-08 09:41:55 UTC (rev 4682)
@@ -0,0 +1,45 @@
+
+# Copyright (C) Igor Sysoev
+# Copyright (C) Nginx, Inc.
+
+
+echo $ngx_n "checking for system byte ordering ...$ngx_c"
+echo >> $NGX_ERR
+echo "checking for system byte ordering" >> $NGX_ERR
+
+
+cat << END > $NGX_AUTOTEST.c
+
+int main() {
+ int i = 0x11223344;
+ char *p;
+
+ p = (char *) &i;
+ if (*p == 0x44) return 0;
+ return 1;
+}
+
+END
+
+ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
+ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs"
+
+eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
+
+if [ -x $NGX_AUTOTEST ]; then
+ if $NGX_AUTOTEST >/dev/null 2>&1; then
+ echo " little endian"
+ have=NGX_HAVE_LITTLE_ENDIAN . auto/have
+ else
+ echo " big endian"
+ fi
+
+ rm $NGX_AUTOTEST*
+
+else
+ rm $NGX_AUTOTEST*
+
+ echo
+ echo "$0: error: cannot detect system byte ordering"
+ exit 1
+fi

Modified: trunk/auto/unix
===================================================================
--- trunk/auto/unix 2012-06-05 14:02:03 UTC (rev 4681)
+++ trunk/auto/unix 2012-06-08 09:41:55 UTC (rev 4682)
@@ -464,7 +464,7 @@

. auto/types/uintptr_t

-. auto/endianess
+. auto/endianness

ngx_type="size_t"; . auto/types/sizeof
ngx_param=NGX_MAX_SIZE_T_VALUE; ngx_value=$ngx_max_value; . auto/types/value

Modified: trunk/src/http/modules/ngx_http_geo_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_geo_module.c 2012-06-05 14:02:03 UTC (rev 4681)
+++ trunk/src/http/modules/ngx_http_geo_module.c 2012-06-08 09:41:55 UTC (rev 4682)
@@ -145,7 +145,7 @@
u_char GEORNG[6];
u_char version;
u_char ptr_size;
- uint32_t endianess;
+ uint32_t endianness;
uint32_t crc32;
} ngx_http_geo_header_t;


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

[nginx] svn commit: r4682 - in trunk: auto src/http/modules

Anonymous User 1020 June 08, 2012 05:42AM



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

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready