;;; -*- Mode:Lisp; Readtable:ZL; Package:USER; Base:8; Patch-File:T -*- ;;; Patch file for System version 124.83 ;;; Reason: ;;; Common Lisp defines (unread-char) as returning NIL. Zetalisp does not define ;;; a return value. Return NIL... ;;; Written 21-Jun-88 13:04:22 by pld (Peter L. DeWolf) at site Gigamos Cambridge ;;; while running on Cthulhu from band 1 ;;; with Experimental System 124.79, Experimental Local-File 74.2, Experimental File-Server 23.1, Experimental Unix-Interface 12.0, Experimental ZMail 72.1, Experimental Tape 23.6, Experimental Lambda-Diag 16.2, microcode 1760, SDU Boot Tape 3.14, SDU ROM 8, the old ones. ; From modified file DJ: L.IO; QIO.LISP#234 at 21-Jun-88 13:04:23 #8R SYSTEM-INTERNALS#: (COMPILER-LET ((*PACKAGE* (PKG-FIND-PACKAGE "SYSTEM-INTERNALS"))) (COMPILER::PATCH-SOURCE-FILE "SYS: IO; QIO  " (defun unread-char (char &optional (stream *standard-input*)) "Put CHAR back in STREAM to be read out again as the next input character. CHAR must be the same character last read from STREAM, or this may not work or might even signal an error." (send (decode-read-arg stream) :untyi (if (characterp char) (char-int char) char)) nil) ))