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.35 (request...



details:   https://anonhg.NetBSD.org/src/rev/9373f921b3a3
branches:  netbsd-1-4
changeset: 469912:9373f921b3a3
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 20 15:13:44 1999 +0000

description:
Pull up revision 1.35 (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/file.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r a88d3f62bbab -r 9373f921b3a3 usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c   Mon Dec 20 15:13:15 1999 +0000
+++ b/usr.sbin/pkg_install/lib/file.c   Mon Dec 20 15:13:44 1999 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: file.c,v 1.25.2.5 1999/11/27 15:56:16 he Exp $ */
+/*     $NetBSD: file.c,v 1.25.2.6 1999/12/20 15:13:44 he Exp $ */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
 #else
-__RCSID("$NetBSD: file.c,v 1.25.2.5 1999/11/27 15:56:16 he Exp $");
+__RCSID("$NetBSD: file.c,v 1.25.2.6 1999/12/20 15:13:44 he Exp $");
 #endif
 #endif
 
@@ -87,7 +87,7 @@
 }
 
 /*
- * Quick check to see if a file exists
+ * Quick check to see if a file (or dir ...) exists
  */
 Boolean
 fexists(char *fname)
@@ -318,6 +318,7 @@
                        /* Otherwise, we've been given an environment variable hinting at the right location from sysinstall */
                        strcpy(fname, hint);
                        strcat(fname, spec);
+                       strcat(fname, ".tgz");
                }
        } else
                strcpy(fname, spec);
@@ -445,7 +446,7 @@
 }
 
 /*
- *  Expect "fname" to point at a +CONTENTS file, and read it into
+ *  Expect "fname" to point at a file, and read it into
  *  the buffer returned.
  */
 char   *



Home | Main Index | Thread Index | Old Index