From owner-freebsd-bugs Tue Feb 20 16:01:26 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA16827 for bugs-outgoing; Tue, 20 Feb 1996 16:01:26 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA16820 for ; Tue, 20 Feb 1996 16:01:17 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA24146; Wed, 21 Feb 1996 01:01:12 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA06569; Wed, 21 Feb 1996 01:01:11 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA17497; Wed, 21 Feb 1996 00:57:31 +0100 (MET) From: J Wunsch Message-Id: <199602202357.AAA17497@uriah.heep.sax.de> Subject: Re: /usr/bin/mt core dumped To: avl@kiam1.rssi.ru (Lapinsky Alexander) Date: Wed, 21 Feb 1996 00:57:31 +0100 (MET) Cc: bugs@FreeBSD.ORG Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602201558.SAA27041@flox.kiam1.rssi.ru> from "Lapinsky Alexander" at Feb 20, 96 06:58:16 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG Precedence: bulk As Lapinsky Alexander wrote: > > Some times mt utility "core dumped" (it is right, for example, > for Archive/Wangtek QIC-02 tape controller). > printf("%s=%o", s, v); > else > printf("%s=%x", s, v); > if (v && bits) { The fix in -current was to insert the lines if (!bits) return; right above the ++bits. Basically the same as your fix. FreeBSD should define a real register description instead. This is on my whiteboard for the `wt', but doesn't have a very high priority. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)