Klaus Demo nginx / 32c7bd5
Style. Sergey Kandaurov 4 years ago
6 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
177177 /* open configuration file */
178178
179179 fd = ngx_open_file(filename->data, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0);
180
180181 if (fd == NGX_INVALID_FILE) {
181182 ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno,
182183 ngx_open_file_n " \"%s\" failed",
923923 cln->data = passwords;
924924
925925 fd = ngx_open_file(file->data, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0);
926
926927 if (fd == NGX_INVALID_FILE) {
927928 ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno,
928929 ngx_open_file_n " \"%s\" failed", file->data);
29052906 file.log = cf->log;
29062907
29072908 file.fd = ngx_open_file(file.name.data, NGX_FILE_RDONLY, 0, 0);
2909
29082910 if (file.fd == NGX_INVALID_FILE) {
29092911 ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno,
29102912 ngx_open_file_n " \"%V\" failed", &file.name);
14001400 file.log = cf->log;
14011401
14021402 file.fd = ngx_open_file(name->data, NGX_FILE_RDONLY, 0, 0);
1403
14031404 if (file.fd == NGX_INVALID_FILE) {
14041405 err = ngx_errno;
14051406 if (err != NGX_ENOENT) {
619619 {
620620 fm->fd = ngx_open_file(fm->name, NGX_FILE_RDWR, NGX_FILE_TRUNCATE,
621621 NGX_FILE_DEFAULT_ACCESS);
622
622623 if (fm->fd == NGX_INVALID_FILE) {
623624 ngx_log_error(NGX_LOG_CRIT, fm->log, ngx_errno,
624625 ngx_open_file_n " \"%s\" failed", fm->name);
329329
330330 fm->fd = ngx_open_file(fm->name, NGX_FILE_RDWR, NGX_FILE_TRUNCATE,
331331 NGX_FILE_DEFAULT_ACCESS);
332
332333 if (fm->fd == NGX_INVALID_FILE) {
333334 ngx_log_error(NGX_LOG_CRIT, fm->log, ngx_errno,
334335 ngx_open_file_n " \"%s\" failed", fm->name);
13261326 file.log = cf->log;
13271327
13281328 file.fd = ngx_open_file(name->data, NGX_FILE_RDONLY, 0, 0);
1329
13291330 if (file.fd == NGX_INVALID_FILE) {
13301331 err = ngx_errno;
13311332 if (err != NGX_ENOENT) {