diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-12 18:39:51 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-12 18:39:51 +0000 |
| commit | 033598bc073da23dcec5e4ea80b85cccecd8958a (patch) | |
| tree | b5c907bbebaefe9915049d45aef7610d03157527 /src/core/ngx_file.h | |
| parent | d39777712d97180ff439461813083cbc7892a2a1 (diff) | |
| download | nginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.gz nginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.bz2 | |
Merge of r4870, r4871, r4890, r4895: minor fixes.
*) Made sure to initialize the entire ngx_file_t structure.
Found by Coverity.
*) Correct plural form for "path" in the whole source base.
*) Removed conditional compilation from waitpid() error test.
There are reports that call to a signal handler for an exited process
despite waitpid() already called for the process may happen on Linux
as well.
*) Style, parentheses instead of braces in misc/GNUMakefile.
Diffstat (limited to 'src/core/ngx_file.h')
| -rw-r--r-- | src/core/ngx_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h index 7023e6778..18abf1423 100644 --- a/src/core/ngx_file.h +++ b/src/core/ngx_file.h @@ -130,7 +130,7 @@ void ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len); ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access); ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); -ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); +ngx_int_t ngx_create_paths(ngx_cycle_t *cycle, ngx_uid_t user); ngx_int_t ngx_ext_rename_file(ngx_str_t *src, ngx_str_t *to, ngx_ext_rename_file_t *ext); ngx_int_t ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf); |
