Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/pkg_install/lib Pull up rev. 1.38 to 1.5 branc...



details:   https://anonhg.NetBSD.org/src/rev/783443daa4e1
branches:  netbsd-1-5
changeset: 488487:783443daa4e1
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Thu Jul 13 03:15:37 2000 +0000

description:
Pull up rev. 1.38 to 1.5 branch, OK'd by thorpej:
remove/hide some debugging code

diffstat:

 usr.sbin/pkg_install/lib/file.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r f55b9c714a32 -r 783443daa4e1 usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c   Thu Jul 13 02:22:05 2000 +0000
+++ b/usr.sbin/pkg_install/lib/file.c   Thu Jul 13 03:15:37 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: file.c,v 1.37 2000/01/25 12:09:20 hubertf Exp $        */
+/*     $NetBSD: file.c,v 1.37.4.1 2000/07/13 03:15:37 hubertf 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.37 2000/01/25 12:09:20 hubertf Exp $");
+__RCSID("$NetBSD: file.c,v 1.37.4.1 2000/07/13 03:15:37 hubertf Exp $");
 #endif
 #endif
 
@@ -445,8 +445,9 @@
                                snprintf(url, FILENAME_MAX, "%s-[0-9]*.tgz", tmp);
                                rc = expandURL(tmp, url);
                                if (rc >= 0) {
-                                       printf("fileFindByPath: late success, expandURL('%s') returns '%s'\n",
-                                              url, tmp);
+                                       if (Verbose)
+                                               printf("fileFindByPath: late success, expandURL('%s') returns '%s'\n",
+                                                       url, tmp);
                                        return tmp;
                                }
                        }



Home | Main Index | Thread Index | Old Index