Update sendmail's "knowledge" of the ps_strings structure.

This really is ugly, we need setproctitle() in a shared lib somewhere to
make these more transparent.
This commit is contained in:
Peter Wemm 1995-12-09 05:01:24 +00:00
parent a52219bb33
commit c46353cc1b
1 changed files with 3 additions and 2 deletions

View File

@ -1558,7 +1558,7 @@ getla()
/* Non Apollo stuff removed by Don Lewis 11/15/93 */
#ifndef lint
static char rcsid[] = "@(#)$Id: conf.c,v 1.8 1995/12/02 18:17:13 peter Exp $";
static char rcsid[] = "@(#)$Id: conf.c,v 1.9 1995/12/06 07:56:45 peter Exp $";
#endif /* !lint */
#ifdef apollo
@ -1833,7 +1833,8 @@ setproctitle(fmt, va_alist)
# endif
# if SPT_TYPE == SPT_PSSTRINGS
PS_STRINGS->ps_nargvstr = 1;
PS_STRINGS->ps_argvstr = buf;
PS_STRINGS->ps_argvstr[0] = buf;
PS_STRINGS->ps_argvstr[1] = 0;
# endif
# if SPT_TYPE == SPT_SYSMIPS
sysmips(SONY_SYSNEWS, NEWS_SETPSARGS, buf);