Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!ukc!stc!root44!miduet!adam From: adam@gec-mi-at.co.uk (Adam Quantrill) Newsgroups: comp.bugs.4bsd Subject: Blunder in gmon.c (profiler) BSD 4.3 Message-ID: <647@gec-mi-at.co.uk> Date: Mon, 24-Aug-87 09:17:32 EDT Article-I.D.: gec-mi-a.647 Posted: Mon Aug 24 09:17:32 1987 Date-Received: Fri, 28-Aug-87 00:35:53 EDT Sender: news@gec-mi-at.co.uk Reply-To: adam@miduet.gec-mi-at.co.uk (Adam Quantrill) Organization: Marconi Instruments Ltd., St. Albans, UK Lines: 11 Hardly needs a diff. The current version bungs out a null when the 'tos over- flow' message is printed: /usr/src/lib/libc/vax/csu/gmon.c 240 # define TOLIMIT "mcount: tos overflow\n" 241 write(2, TOLIMIT, sizeof(TOLIMIT)); Should be: 241 write(2, TOLIMIT, sizeof(TOLIMIT)-1);