diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-05-29 13:31:48 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-29 13:31:48 +0400 |
commit | b7882d12132a87355c3992f7f8ea7f517a496aa3 (patch) | |
tree | 0d8a7c8258c8cd23a16292e15c84d82d179cc604 /src | |
parent | 21c2cf88c1dc2df193a47fbd13ac9ff926066b8e (diff) |
add trailing zero to a file name
Diffstat (limited to 'src')
-rw-r--r-- | src/os/win32/ngx_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c index 4397b28a0..80d47e6f2 100644 --- a/src/os/win32/ngx_files.c +++ b/src/os/win32/ngx_files.c @@ -269,7 +269,7 @@ ngx_win32_rename_file(ngx_str_t *from, ngx_str_t *to, ngx_log_t *log) for ( ;; ) { num = ngx_next_temp_number(collision); - ngx_sprintf(name + to->len, ".%0muA.DELETE", num); + ngx_sprintf(name + to->len, ".%0muA.DELETE%Z", num); if (MoveFile((const char *) to->data, (const char *) name) != 0) { break; |