Source-Changes-HG archive

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

[src/netbsd-1-5]: src/lib pull up rev. 1.11:



details:   https://anonhg.NetBSD.org/src/rev/7038238ef447
branches:  netbsd-1-5
changeset: 489076:7038238ef447
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Aug 12 12:55:39 2000 +0000

description:
pull up rev. 1.11:
No longer abuse the "minor" number in the shlib_version file to
optionally contain the "teeny" version number.  Instead, introduce
a separate optional "teeny" variable.  This corresponds to the change
in revision 1.171 of share/bsd.lib.mk.

diffstat:

 lib/checkver |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r d5394a87c8b4 -r 7038238ef447 lib/checkver
--- a/lib/checkver      Sat Aug 12 00:35:24 2000 +0000
+++ b/lib/checkver      Sat Aug 12 12:55:39 2000 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: checkver,v 1.9.4.1 2000/07/03 17:52:57 he Exp $
+#      $NetBSD: checkver,v 1.9.4.2 2000/08/12 12:55:39 drochner Exp $
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -202,20 +202,17 @@
     exit 2
 fi
 
-tiny=`echo $minor | awk 'BEGIN { FS="." } { print $2 + 0 } '`
-minor=`echo $minor | awk 'BEGIN { FS="." } { print $1 } '`
-
 # Find every shared object library with the same base name.
  for instlib in `grep $libname.so "$LIBLIST" ` ; do
     # Grab the major and minor from the installed library.
     instmajor=`basename $instlib | awk 'BEGIN { FS="." } { print $3 } '`
     instminor=`basename $instlib | awk 'BEGIN { FS="." } { print $4 } '`
-    insttiny=`basename $instlib | awk 'BEGIN { FS="." } { print $5 + 0 } '`
+    instteeny=`basename $instlib | awk 'BEGIN { FS="." } { print $5 + 0 } '`
 
     # If they're greater than the source, complain.
     if [ "0$major" -eq "0$instmajor" ] ; then
        if [ "0$minor" -eq "0$instminor" ] ; then
-           if [ "0$tiny" -lt "0$insttiny" ] ; then
+           if [ "0$teeny" -lt "0$instteeny" ] ; then
                if [ $error -eq 0 -a $quiet -eq 0 ]; then
                    echo -n "The following libraries have versions greater"
                    echo " than the source:"



Home | Main Index | Thread Index | Old Index