1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12684

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);