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 revision 1.18 (request...



details:   https://anonhg.NetBSD.org/src/rev/8286bca36406
branches:  netbsd-1-4
changeset: 469914:8286bca36406
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 20 15:14:29 1999 +0000

description:
Pull up revision 1.18 (requested by hubertf):
  A few bundled changes:
   o fix printing of @ignore in pkg_info
   o fix installing of local wildcard dependencies (currently unused)
   o fix deleting of packages that depend on wildcard dependencies
     (not currently activated)
   o code cleanup

diffstat:

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

diffs (30 lines):

diff -r 47be35a891a2 -r 8286bca36406 usr.sbin/pkg_install/lib/str.c
--- a/usr.sbin/pkg_install/lib/str.c    Mon Dec 20 15:14:05 1999 +0000
+++ b/usr.sbin/pkg_install/lib/str.c    Mon Dec 20 15:14:29 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: str.c,v 1.14.2.3 1999/09/13 22:38:41 he Exp $  */
+/*     $NetBSD: str.c,v 1.14.2.4 1999/12/20 15:14:29 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.3 1999/09/13 22:38:41 he Exp $");
+__RCSID("$NetBSD: str.c,v 1.14.2.4 1999/12/20 15:14:29 he Exp $");
 #endif
 #endif
 
@@ -277,9 +277,11 @@
                        continue;
 
                (void) snprintf(tmp, sizeof(tmp), "%s/%s", dir, dp->d_name);
+#if 0 /* This code breaks a LOT ... */
                if (isfile(tmp))/* pkgdb, ... */
                        continue;
-
+#endif
+               
                if (pmatch(pattern, dp->d_name)) {
                        if (match) {
                                match(dp->d_name, data);



Home | Main Index | Thread Index | Old Index