comparison src/os/unix/ngx_channel.c @ 599:53f5f04a64b8 NGINX_0_8_45

nginx 0.8.45 *) Feature: ngx_http_xslt_filter improvements. Thanks to Laurence Rowe. *) Bugfix: SSI response might be truncated after include with wait="yes"; the bug had appeared in 0.7.25. Thanks to Maxim Dounin. *) Bugfix: the "listen" directive did not support the "setfib=0" parameter.
author Igor Sysoev <http://sysoev.ru>
date Tue, 13 Jul 2010 00:00:00 +0400
parents 2da4537168f8
children
comparison
equal deleted inserted replaced
598:565a8b8fdad5 599:53f5f04a64b8
42 * *(int *) CMSG_DATA(&cmsg.cm) = ch->fd; 42 * *(int *) CMSG_DATA(&cmsg.cm) = ch->fd;
43 * because some gcc 4.4 with -O2/3/s optimization issues the warning: 43 * because some gcc 4.4 with -O2/3/s optimization issues the warning:
44 * dereferencing type-punned pointer will break strict-aliasing rules 44 * dereferencing type-punned pointer will break strict-aliasing rules
45 * 45 *
46 * Fortunately, gcc with -O1 compiles this ngx_memcpy() 46 * Fortunately, gcc with -O1 compiles this ngx_memcpy()
47 * in the same simple assigment as in the code above 47 * in the same simple assignment as in the code above
48 */ 48 */
49 49
50 ngx_memcpy(CMSG_DATA(&cmsg.cm), &ch->fd, sizeof(int)); 50 ngx_memcpy(CMSG_DATA(&cmsg.cm), &ch->fd, sizeof(int));
51 } 51 }
52 52