details:   http://hg.nginx.org/nginx/rev/860a1c37f3b2
branches:  
changeset: 5972:860a1c37f3b2
user:      Sergey Kandaurov <[email protected]>
date:      Tue Feb 10 01:51:08 2015 +0300
description:
Core: fixed build on Tru64 UNIX.

There was a typo in NGX_EACCES.

Reported by Goetz T. Fischer.

diffstat:

 src/core/ngx_shmtx.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ebdb2023e84a -r 860a1c37f3b2 src/core/ngx_shmtx.c
--- a/src/core/ngx_shmtx.c      Wed Jan 21 00:26:32 2015 +0100
+++ b/src/core/ngx_shmtx.c      Tue Feb 10 01:51:08 2015 +0300
@@ -259,7 +259,7 @@ ngx_shmtx_trylock(ngx_shmtx_t *mtx)
 
 #if __osf__ /* Tru64 UNIX */
 
-    if (err == NGX_EACCESS) {
+    if (err == NGX_EACCES) {
         return 0;
     }
 

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to