Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pkg_install/lib fix typo that prevents to select be...



details:   https://anonhg.NetBSD.org/src/rev/b92e2a569b0e
branches:  trunk
changeset: 515743:b92e2a569b0e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Oct 04 05:32:50 2001 +0000

description:
fix typo that prevents to select best version of package.

diffstat:

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

diffs (26 lines):

diff -r 55831a645dd9 -r b92e2a569b0e usr.sbin/pkg_install/lib/str.c
--- a/usr.sbin/pkg_install/lib/str.c    Thu Oct 04 05:03:42 2001 +0000
+++ b/usr.sbin/pkg_install/lib/str.c    Thu Oct 04 05:32:50 2001 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: str.c,v 1.30 2001/07/15 00:34:15 hubertf Exp $ */
+/*     $NetBSD: str.c,v 1.31 2001/10/04 05:32:50 yamt 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.30 2001/07/15 00:34:15 hubertf Exp $");
+__RCSID("$NetBSD: str.c,v 1.31 2001/10/04 05:32:50 yamt Exp $");
 #endif
 #endif
 
@@ -374,7 +374,7 @@
                        /* skip '-' if any version found */
                        best_version++;
                }
-               strip_txz(best_no_sfx, NULL, best);
+               strip_txz(best_no_sfx, NULL, best_version);
                best_version = best_no_sfx;
        }
 



Home | Main Index | Thread Index | Old Index