comparison src/core/ngx_conf_file.c @ 620:b4dcae568a2a NGINX_1_0_0

nginx 1.0.0 *) Bugfix: a cache manager might hog CPU after reload. Thanks to Maxim Dounin. *) Bugfix: an "image_filter crop" directive worked incorrectly coupled with an "image_filter rotate 180" directive. *) Bugfix: a "satisfy any" directive disabled custom 401 error page.
author Igor Sysoev <http://sysoev.ru>
date Tue, 12 Apr 2011 00:00:00 +0400
parents c456a023113c
children d0f7a625f27c
comparison
equal deleted inserted replaced
619:c4e0de226b0b 620:b4dcae568a2a
505 "missing terminating \"%c\" character", ch); 505 "missing terminating \"%c\" character", ch);
506 return NGX_ERROR; 506 return NGX_ERROR;
507 } 507 }
508 508
509 if (len) { 509 if (len) {
510 ngx_memcpy(b->start, start, len); 510 ngx_memmove(b->start, start, len);
511 } 511 }
512 512
513 size = (ssize_t) (file_size - cf->conf_file->file.offset); 513 size = (ssize_t) (file_size - cf->conf_file->file.offset);
514 514
515 if (size > b->end - (b->start + len)) { 515 if (size > b->end - (b->start + len)) {