diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-06-08 09:41:55 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-06-08 09:41:55 +0000 |
commit | d4353c6fd3685a6b906e5c037c11c8d90fa555cc (patch) | |
tree | f092d3e974ca59fb8539977325642c3b73e6a587 | |
parent | 397a42eb44efb64e7319989f2cc7f678fbac578b (diff) | |
download | nginx-d4353c6fd3685a6b906e5c037c11c8d90fa555cc.tar.gz nginx-d4353c6fd3685a6b906e5c037c11c8d90fa555cc.zip |
Fixed spelling of "endianness", and called it "byte ordering" in the
user visible part.
-rw-r--r-- | auto/endianness (renamed from auto/endianess) | 10 | ||||
-rwxr-xr-x | auto/unix | 2 | ||||
-rw-r--r-- | src/http/modules/ngx_http_geo_module.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/auto/endianess b/auto/endianness index 452dd7c12..87311a0f1 100644 --- a/auto/endianess +++ b/auto/endianness @@ -3,9 +3,9 @@ # Copyright (C) Nginx, Inc. -echo $ngx_n "checking for system endianess ...$ngx_c" +echo $ngx_n "checking for system byte ordering ...$ngx_c" echo >> $NGX_ERR -echo "checking for system endianess" >> $NGX_ERR +echo "checking for system byte ordering" >> $NGX_ERR cat << END > $NGX_AUTOTEST.c @@ -28,10 +28,10 @@ eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" if [ -x $NGX_AUTOTEST ]; then if $NGX_AUTOTEST >/dev/null 2>&1; then - echo " little endianess" + echo " little endian" have=NGX_HAVE_LITTLE_ENDIAN . auto/have else - echo " big endianess" + echo " big endian" fi rm $NGX_AUTOTEST* @@ -40,6 +40,6 @@ else rm $NGX_AUTOTEST* echo - echo "$0: error: can not detect system endianess" + echo "$0: error: cannot detect system byte ordering" exit 1 fi @@ -464,7 +464,7 @@ ngx_type="rlim_t"; ngx_types="int"; . auto/types/typedef . 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 diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c index e792cdb66..189d8ed50 100644 --- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -145,7 +145,7 @@ typedef struct { 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; |