Klaus Demo nginx / da0a531
compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busy Igor Sysoev 13 years ago
1 changed file(s) with 11 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
5656 return 0;
5757 }
5858
59 ngx_log_abort(err, ngx_trylock_fd_n " failed");
59 #if __osf__ /* Tru64 UNIX */
60
61 if (err == NGX_EACCESS) {
62 return 0;
63 }
64
65 #endif
66
67 ngx_log_abort(err, ngx_trylock_fd_n " %s failed", mtx->name);
6068
6169 return 0;
6270 }
7381 return;
7482 }
7583
76 ngx_log_abort(err, ngx_lock_fd_n " failed");
84 ngx_log_abort(err, ngx_lock_fd_n " %s failed", mtx->name);
7785 }
7886
7987
8896 return;
8997 }
9098
91 ngx_log_abort(err, ngx_unlock_fd_n " failed");
99 ngx_log_abort(err, ngx_unlock_fd_n " %s failed", mtx->name);
92100 }
93101
94102