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/lib Pull up 1.15-1.16:



details:   https://anonhg.NetBSD.org/src/rev/d6663f4c5e4e
branches:  netbsd-1-4
changeset: 469277:d6663f4c5e4e
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 22 18:19:47 1999 +0000

description:
Pull up 1.15-1.16:
  De-linting.  (hubertf)

diffstat:

 usr.sbin/pkg_install/lib/str.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6a23b189dc8f -r d6663f4c5e4e usr.sbin/pkg_install/lib/str.c
--- a/usr.sbin/pkg_install/lib/str.c    Sun Aug 22 18:18:08 1999 +0000
+++ b/usr.sbin/pkg_install/lib/str.c    Sun Aug 22 18:19:47 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: str.c,v 1.14.2.1 1999/04/12 02:55:47 hubertf Exp $     */
+/*     $NetBSD: str.c,v 1.14.2.2 1999/08/22 18:19:47 he Exp $  */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "Id: str.c,v 1.5 1997/10/08 07:48:21 charnier Exp";
 #else
-__RCSID("$NetBSD: str.c,v 1.14.2.1 1999/04/12 02:55:47 hubertf Exp $");
+__RCSID("$NetBSD: str.c,v 1.14.2.2 1999/08/22 18:19:47 he Exp $");
 #endif
 #endif
 
@@ -254,7 +254,7 @@
                    strcmp(dp->d_name, "..") == 0)
                        continue;
                
-               snprintf(tmp, FILENAME_MAX, "%s/%s", dir, dp->d_name);
+               (void) snprintf(tmp, sizeof(tmp), "%s/%s", dir, dp->d_name);
                if (isfile(tmp)) /* pkgdb, ... */
                    continue;
                



Home | Main Index | Thread Index | Old Index