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.18-1.21:



details:   https://anonhg.NetBSD.org/src/rev/6a23b189dc8f
branches:  netbsd-1-4
changeset: 469276:6a23b189dc8f
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 22 18:18:08 1999 +0000

description:
Pull up 1.18-1.21:
  Treat absolute paths in PLIST properly, i.e. do not allow them at all.
  Disable annoying "key not present" warning.  (hubertf)

diffstat:

 usr.sbin/pkg_install/lib/plist.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 58170e2f8574 -r 6a23b189dc8f usr.sbin/pkg_install/lib/plist.c
--- a/usr.sbin/pkg_install/lib/plist.c  Sun Aug 22 18:14:29 1999 +0000
+++ b/usr.sbin/pkg_install/lib/plist.c  Sun Aug 22 18:18:08 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: plist.c,v 1.18 1999/03/15 08:57:12 christos Exp $      */
+/*     $NetBSD: plist.c,v 1.18.2.1 1999/08/22 18:18:08 he Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: plist.c,v 1.24 1997/10/08 07:48:15 charnier Exp";
 #else
-__RCSID("$NetBSD: plist.c,v 1.18 1999/03/15 08:57:12 christos Exp $");
+__RCSID("$NetBSD: plist.c,v 1.18.2.1 1999/08/22 18:18:08 he Exp $");
 #endif
 #endif
 
@@ -392,8 +392,6 @@
                        if (pkgdb_remove(tmp)) {
                            if (errno) {
                                perror ("pkgdb_remove");
-                           } else {
-                               printf("Key not present in pkgdb.\n");
                            }
                        } else {
 #ifdef PKGDB_DEBUG



Home | Main Index | Thread Index | Old Index