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

Bug#41389: marked as done (devpts.sh gets the uname wrong)



Your message dated 25 Jul 1999 18:54:02 -0000
with message-id <[🔎] 19990725185402.15808.qmail@master.debian.org>
and subject line Bug#41389: fixed in glibc 2.1.2-0pre1
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 15 Jul 1999 22:10:55 +0000
Received: (qmail 500 invoked from network); 15 Jul 1999 22:10:54 -0000
Received: from magic.magic.metawire.com (HELO magic.merlins.org) (root@204.80.113.97)
  by master.debian.org with SMTP; 15 Jul 1999 22:10:54 -0000
Received: (from merlin@localhost)
	by magic.merlins.org (8.9.1a/8.9.1) id PAA28340
	for submit@bugs.debian.org; Thu, 15 Jul 1999 15:11:35 -0700
Message-ID: <[🔎] 19990715151133.B19564@merlins.org>
Date: Thu, 15 Jul 1999 15:11:33 -0700
From: Marc Merlin <marc_web@merlins.org>
To: submit@bugs.debian.org
Subject: devpts.sh gets the uname wrong
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
X-Sysadmin: BOFH
X-URL: http://marc.merlins.org/
X-Operating-System: Proudly running Linux 2.2.10/Red Hat Linux release 5.2 (Apollo)

Package: libc6
Version: 2.1.1-13

bunyip:~# uname -r
2.2.7-1.18
(see EXTRAVERSION in /usr/src/linux/Makefile)
bunyip:~# release=`uname -r`
bunyip:~# major_release=${release%.*}
bunyip:~# minor_release=${release##*.}
bunyip:~# echo $major_release
2.2.7-1
bunyip:~# echo $minor_release
18

bunyip:~# release=`uname -r`
bunyip:~# minor_release=${release#*.*.}
bunyip:~# major_release=${release%.$minor_release}
bunyip:~#  echo $major_release; echo $minor_release
2.2
7-1.18


--- devpts.sh.debian    Thu Jul 15 13:15:48 1999
+++ devpts.sh   Thu Jul 15 15:07:55 1999
@@ -23,8 +23,8 @@
 }

 release=`uname -r`
-major_release=${release%.*}
-minor_release=${release##*.}
+minor_release=${release#*.*.}
+major_release=${release%.$minor_release}

 case ${major_release} in
     2.2 | 2.3

Cheers,
Marc
-- 
Microsoft is to software what McDonalds is to gourmet cooking
 
Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f@merlins.org for PGP key and other contact information


Reply to: