[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reminder -- Bug in Errprint of 2 args
- To: (BUG LISP) at MIT-AI Date: 6 JAN 1978 1101-EST From: MILLER at MIT-AI (Mark L. Miller) Subject: Seeming Bug in Errprint of 2 args. .Info.;Lisp News contains the following claim: [3] The ERRPRINT function now takes an optional second argument like PRINT to specify the output files to print the message on. Thus, for example, (ERRPRINT NIL MSGFILES) prints the most recent error message onto the message files. Since that was just what I needed, I tried it. I think errprint is buggy. Part of the message goes to the tty (msgfiles, actually, I bet), and part goes to the list of files as advertised: LISP 1293 WITH WINNING NEW I/O ALLOC? n * (setq base 10. ibase 10. *nopoint nil) ;(habit) NIL (setq fil (open '((dsk miller) tstfil >) 'out)) #FILE-OUT-|DSK:MILLER;TSTFIL 1|-62776 (+ 'foobar 8.) ;FOOBAR NON-NUMERIC VALUE ;BKPT WRNG-TYPE-ARG (errprint nil (list fil))FOOBAR ;"FOOBAR" printed on tty! T (close fil) T Here is a copy of the file dsk:miller;tstfil 1: -------------------------- ;NON-NUMERIC VALUE ;No "FOOBAR"! --------------------------
- Subject: Re: Reminder -- Bug in Errprint of 2 args
- From: MILLER@MIT-AI
- Date: Mon, 13 Jun 78 10:22:42 GMT
- Original-date: 06/13/78 06:22:42 EDT