# HG changeset patch # User Vladimir Homutov # Date 1489668804 -10800 # Node ID 8f996938fe237300516fc7738758784a0b1e75b9 # Parent be7490a66d1bd4244276183762ec329163d5cf9c Style: proper quotes usage. diff -r be7490a66d1b -r 8f996938fe23 xml/en/docs/dev/development_guide.xml --- a/xml/en/docs/dev/development_guide.xml Thu Mar 16 15:53:09 2017 +0300 +++ b/xml/en/docs/dev/development_guide.xml Thu Mar 16 15:53:24 2017 +0300 @@ -790,11 +790,11 @@ v = ngx_list_push(list); if (v == NULL) { /* error */ } -ngx_str_set(v, “foo”); +ngx_str_set(v, "foo"); v = ngx_list_push(list); if (v == NULL) { /* error */ } -ngx_str_set(v, “bar”); +ngx_str_set(v, "bar"); /* iterate over the list */ @@ -914,7 +914,7 @@ f = ngx_palloc(pool, sizeof(ngx_foo_t)); if (f == NULL) { /* error */ } -ngx_str_set(&f->value, “foo”); +ngx_str_set(&f->value, "foo"); ngx_queue_insert_tail(&values, f); @@ -1367,11 +1367,11 @@ s = ngx_palloc(pool, sizeof(ngx_str_t)); if (s == NULL) { /* error */ } -ngx_str_set(s, “foo”); +ngx_str_set(s, "foo"); p = ngx_pnalloc(pool, 3); if (p == NULL) { /* error */ } -ngx_memcpy(p, “foo”, 3); +ngx_memcpy(p, "foo", 3); @@ -1412,7 +1412,7 @@ if (cln == NULL) { /* error */ } cln->handler = ngx_my_cleanup; -cln->data = “foo”; +cln->data = "foo"; ... @@ -1821,7 +1821,7 @@ The function receives the old cycle as the argument. It's used to locate the configuration file and inherit as much resources as possible from the old cycle to keep nginx running smoothly. -When nginx starts, a fake cycle called "init cycle" is created and is then +When nginx starts, a fake cycle called “init cycle” is created and is then replaced by a normal cycle, built from configuration. @@ -1903,14 +1903,14 @@ path loader — executed only once in 60 seconds after starting or reloading nginx. Normally, reads the directory and stores data in nginx shared -memory. The handler is called from a dedicated nginx process "nginx -cache loader" +memory. The handler is called from a dedicated nginx process “nginx +cache loader” path manager — executed periodically. Normally, removes old files from the directory and reflects these changes in nginx memory. The handler is -called from a dedicated nginx process "nginx cache manager" +called from a dedicated nginx process “nginx cache manager” @@ -2692,7 +2692,7 @@ nginx binary. Master process starts a new nginx binary and passes there a list of all listen sockets. -The list is passed in the environment variable "NGINX" in +The list is passed in the environment variable “NGINX” in text format, where descriptor numbers separated with semicolons. A new nginx instance reads that variable and adds the sockets to its init cycle. @@ -3603,8 +3603,8 @@ http_protocol, http_version, http_major, http_minor - -client HTTP protocol version in its original textual form ("HTTP/1.0", -"HTTP/1.1" etc), numeric form (NGX_HTTP_VERSION_10, +client HTTP protocol version in its original textual form (“HTTP/1.0”, +“HTTP/1.1” etc), numeric form (NGX_HTTP_VERSION_10, NGX_HTTP_VERSION_11 etc) and separate major and minor versions