Mercurial > hg > nginx
comparison src/os/unix/ngx_setproctitle.c @ 507:cd3117ad9aab release-0.1.28
nginx-0.1.28-RELEASE import
*) Bugfix: nginx hogs CPU while proxying the huge files.
*) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 08 Apr 2005 15:18:55 +0000 |
parents | d4ea69372b94 |
children | 9b8c906f6e63 |
comparison
equal
deleted
inserted
replaced
506:005e65646622 | 507:cd3117ad9aab |
---|---|
86 | 86 |
87 #endif | 87 #endif |
88 | 88 |
89 ngx_os_argv[1] = NULL; | 89 ngx_os_argv[1] = NULL; |
90 | 90 |
91 p = ngx_cpystrn((u_char *) ngx_os_argv[0], "nginx: ", | 91 p = ngx_cpystrn((u_char *) ngx_os_argv[0], (u_char *) "nginx: ", |
92 ngx_os_argv_last - ngx_os_argv[0]); | 92 ngx_os_argv_last - ngx_os_argv[0]); |
93 | 93 |
94 p = ngx_cpystrn(p, (u_char *) title, ngx_os_argv_last - (char *) p); | 94 p = ngx_cpystrn(p, (u_char *) title, ngx_os_argv_last - (char *) p); |
95 | 95 |
96 #if (NGX_SOLARIS) | 96 #if (NGX_SOLARIS) |