Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/pkg_install/create Pull up 1.17-1.18:



details:   https://anonhg.NetBSD.org/src/rev/f1250d786a93
branches:  netbsd-1-4
changeset: 469262:f1250d786a93
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 22 17:41:45 1999 +0000

description:
Pull up 1.17-1.18:
  De-linting.  (hubertf)

diffstat:

 usr.sbin/pkg_install/create/perform.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 6008e4b25e6f -r f1250d786a93 usr.sbin/pkg_install/create/perform.c
--- a/usr.sbin/pkg_install/create/perform.c     Sun Aug 22 17:40:14 1999 +0000
+++ b/usr.sbin/pkg_install/create/perform.c     Sun Aug 22 17:41:45 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: perform.c,v 1.17 1999/03/22 05:02:40 hubertf Exp $     */
+/*     $NetBSD: perform.c,v 1.17.2.1 1999/08/22 17:41:45 he Exp $      */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.17 1999/03/22 05:02:40 hubertf Exp $");
+__RCSID("$NetBSD: perform.c,v 1.17.2.1 1999/08/22 17:41:45 he Exp $");
 #endif
 #endif
 
@@ -55,9 +55,9 @@
     args[nargs++] = TAR_CMD;   /* argv[0] */
 
     if (*pkg == '/')
-       snprintf(tball, FILENAME_MAX, "%s.%s", pkg, suffix);
+       (void) snprintf(tball, sizeof(tball), "%s.%s", pkg, suffix);
     else
-       snprintf(tball, FILENAME_MAX, "%s/%s.%s", home, pkg, suffix);
+       (void) snprintf(tball, sizeof(tball), "%s/%s.%s", home, pkg, suffix);
 
     args[nargs++] = "-c";
     args[nargs++] = "-f";



Home | Main Index | Thread Index | Old Index