From 636470a69a0fccfac669e5d2cf7d89a85de42228 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 16 Dec 2004 00:21:32 +0000 Subject: Update to sendmail-8.13.2 --- gnu/usr.sbin/sendmail/smrsh/smrsh.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu/usr.sbin/sendmail/smrsh/smrsh.c') diff --git a/gnu/usr.sbin/sendmail/smrsh/smrsh.c b/gnu/usr.sbin/sendmail/smrsh/smrsh.c index 93cfe4a3725..0d34c8af38b 100644 --- a/gnu/usr.sbin/sendmail/smrsh/smrsh.c +++ b/gnu/usr.sbin/sendmail/smrsh/smrsh.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1993 Eric P. Allman. All rights reserved. * Copyright (c) 1993 @@ -14,13 +14,13 @@ #include SM_IDSTR(copyright, -"@(#) Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.\n\ +"@(#) Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers.\n\ All rights reserved.\n\ Copyright (c) 1993 Eric P. Allman. All rights reserved.\n\ Copyright (c) 1993\n\ The Regents of the University of California. All rights reserved.\n") -SM_IDSTR(id, "@(#)$Sendmail: smrsh.c,v 8.63 2003/12/15 17:12:29 ca Exp $") +SM_IDSTR(id, "@(#)$Sendmail: smrsh.c,v 8.65 2004/08/06 18:54:22 ca Exp $") /* ** SMRSH -- sendmail restricted shell @@ -96,6 +96,8 @@ SM_IDSTR(id, "@(#)$Sendmail: smrsh.c,v 8.63 2003/12/15 17:12:29 ca Exp $") char newcmdbuf[1000]; char *prg, *par; +static void addcmd __P((char *, bool, size_t)); + /* ** ADDCMD -- add a string to newcmdbuf, check for overflow ** @@ -109,7 +111,7 @@ char *prg, *par; ** */ -void +static void addcmd(s, cmd, len) char *s; bool cmd; -- cgit v1.2.3