comparison src/os/unix/ngx_setproctitle.h @ 665:0b460e61bdcd default tip

Merge with nginx 1.0.0.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 25 Apr 2011 04:22:17 +0400
parents c04fa65fe604
children
comparison
equal deleted inserted replaced
572:06419a2298a9 665:0b460e61bdcd
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