Deleted Added
full compact
setproctitle.c (124208) setproctitle.c (126274)
1/* Based on conf.c from UCB sendmail 8.8.8 */
2
3/*
4 * Copyright 2003 Damien Miller
5 * Copyright (c) 1983, 1995-1997 Eric P. Allman
6 * Copyright (c) 1988, 1993
7 * The Regents of the University of California. All rights reserved.
8 *

--- 27 unchanged lines hidden (view full) ---

36#ifndef HAVE_SETPROCTITLE
37
38#include <unistd.h>
39#ifdef HAVE_SYS_PSTAT_H
40#include <sys/pstat.h>
41#endif
42
43#define SPT_NONE 0 /* don't use it at all */
1/* Based on conf.c from UCB sendmail 8.8.8 */
2
3/*
4 * Copyright 2003 Damien Miller
5 * Copyright (c) 1983, 1995-1997 Eric P. Allman
6 * Copyright (c) 1988, 1993
7 * The Regents of the University of California. All rights reserved.
8 *

--- 27 unchanged lines hidden (view full) ---

36#ifndef HAVE_SETPROCTITLE
37
38#include <unistd.h>
39#ifdef HAVE_SYS_PSTAT_H
40#include <sys/pstat.h>
41#endif
42
43#define SPT_NONE 0 /* don't use it at all */
44#define SPT_PSTAT 1 /* cover argv with title information */
45#define SPT_REUSEARGV 2 /* use pstat(PSTAT_SETCMD, ...) */
44#define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */
45#define SPT_REUSEARGV 2 /* cover argv with title information */
46
47#ifndef SPT_TYPE
48# define SPT_TYPE SPT_NONE
49#endif
50
51#ifndef SPT_PADCHAR
52# define SPT_PADCHAR '\0'
53#endif

--- 104 unchanged lines hidden ---
46
47#ifndef SPT_TYPE
48# define SPT_TYPE SPT_NONE
49#endif
50
51#ifndef SPT_PADCHAR
52# define SPT_PADCHAR '\0'
53#endif

--- 104 unchanged lines hidden ---