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: More bugs in gmon.c Message-ID: <648@gec-mi-at.co.uk> Date: Mon, 24-Aug-87 09:34:04 EDT Article-I.D.: gec-mi-a.648 Posted: Mon Aug 24 09:34:04 1987 Date-Received: Fri, 28-Aug-87 00:36:27 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: 21 I suppose I should have inspected the source for more dodgy code before posting the previous message. Here follows a diff to remove the printing of spurious nulls in some error messages. Feed to ed: ----------8><--------------------8><-------------- e /usr/src/lib/libc/vax/csu/gmon.c 241c write(2, TOLIMIT, sizeof(TOLIMIT)-1); . 76c write( 2 , MSG , sizeof(MSG) -1 ); . 64c write( 2 , MSG , sizeof(MSG) -1 ); . 59c write( 2 , MSG , sizeof(MSG) -1 ); . w q --------------------------------------------------