comparison src/core/ngx_cycle.c @ 284:3dbecd747fbb NGINX_0_5_12

nginx 0.5.12 *) Bugfix: nginx could not be built on platforms different from i386, amd64, sparc É ppc; bug appeared in 0.5.8. *) Bugfix: a segmentation fault might occur in worker process if the temporarily files were used while working with FastCGI server; bug appeared in 0.5.8. *) Bugfix: a segmentation fault might occur in worker process if the $fastcgi_script_name variable was logged. *) Bugfix: ngx_http_perl_module could not be built on Solaris.
author Igor Sysoev <http://sysoev.ru>
date Mon, 12 Feb 2007 00:00:00 +0300
parents c5c2b2883984
children 2ceaee987f37
comparison
equal deleted inserted replaced
283:48810289fcb1 284:3dbecd747fbb
899 ngx_test_lockfile(u_char *file, ngx_log_t *log) 899 ngx_test_lockfile(u_char *file, ngx_log_t *log)
900 { 900 {
901 #if !(NGX_HAVE_ATOMIC_OPS) 901 #if !(NGX_HAVE_ATOMIC_OPS)
902 ngx_fd_t fd; 902 ngx_fd_t fd;
903 903
904 fd = ngx_open_file(file, NGX_FILE_RDWR, NGX_FILE_CREATE_OR_OPEN); 904 fd = ngx_open_file(file, NGX_FILE_RDWR, NGX_FILE_CREATE_OR_OPEN,
905 NGX_FILE_DEFAULT_ACCESS);
905 906
906 if (fd == NGX_INVALID_FILE) { 907 if (fd == NGX_INVALID_FILE) {
907 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, 908 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
908 ngx_open_file_n " \"%s\" failed", file); 909 ngx_open_file_n " \"%s\" failed", file);
909 return NGX_ERROR; 910 return NGX_ERROR;