Mercurial > hg > nginx
comparison src/os/unix/ngx_setproctitle.h @ 3438:a0a131127626 stable-0.7
merge r3286:
use setproctitle("%s", title)
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 15:32:57 +0000 |
parents | 417a087c9c4d |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
3437:90d746a95258 | 3438:a0a131127626 |
---|---|
11 #if (NGX_HAVE_SETPROCTITLE) | 11 #if (NGX_HAVE_SETPROCTITLE) |
12 | 12 |
13 /* FreeBSD, NetBSD, OpenBSD */ | 13 /* FreeBSD, NetBSD, OpenBSD */ |
14 | 14 |
15 #define ngx_init_setproctitle(log) | 15 #define ngx_init_setproctitle(log) |
16 #define ngx_setproctitle setproctitle | 16 #define ngx_setproctitle(title) setproctitle("%s", title) |
17 | 17 |
18 | 18 |
19 #else /* !NGX_HAVE_SETPROCTITLE */ | 19 #else /* !NGX_HAVE_SETPROCTITLE */ |
20 | 20 |
21 #if !defined NGX_SETPROCTITLE_USES_ENV | 21 #if !defined NGX_SETPROCTITLE_USES_ENV |