Mercurial > hg > nginx-quic
comparison src/http/ngx_http_file_cache.c @ 3248:8c76116820f3 stable-0.7
merge r3024, r3025, r3028, r3033, r3034, r3035, r3036:
allow cross device temporary files atomic copying
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 17:32:17 +0000 |
parents | 1f3cd08ebb82 |
children | 3354dfba9da4 |
comparison
equal
deleted
inserted
replaced
3247:1f3cd08ebb82 | 3248:8c76116820f3 |
---|---|
649 ext.access = NGX_FILE_OWNER_ACCESS; | 649 ext.access = NGX_FILE_OWNER_ACCESS; |
650 ext.path_access = NGX_FILE_OWNER_ACCESS; | 650 ext.path_access = NGX_FILE_OWNER_ACCESS; |
651 ext.time = -1; | 651 ext.time = -1; |
652 ext.create_path = 1; | 652 ext.create_path = 1; |
653 ext.delete_file = 1; | 653 ext.delete_file = 1; |
654 ext.log_rename_error = 1; | |
655 ext.log = r->connection->log; | 654 ext.log = r->connection->log; |
656 | 655 |
657 rc = ngx_ext_rename_file(&tf->file.name, &c->file.name, &ext); | 656 rc = ngx_ext_rename_file(&tf->file.name, &c->file.name, &ext); |
658 | 657 |
659 if (rc == NGX_OK) { | 658 if (rc == NGX_OK) { |