Mercurial > hg > nginx-ranges
comparison src/os/unix/ngx_setproctitle.h @ 578:f3a9e57d2e17
Merge with current.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Mar 2010 21:27:17 +0300 |
parents | c04fa65fe604 |
children |
comparison
equal
deleted
inserted
replaced
539:5f4de8cf0d9d | 578:f3a9e57d2e17 |
---|---|
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 |