From: Kevin M. Rosenberg Date: Mon, 14 Jul 2003 04:10:02 +0000 (+0000) Subject: r5304: *** empty log message *** X-Git-Tag: v1.96~156 X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=commitdiff_plain;h=2ffbc18c75d4b31c58fad32950658c90e256b556 r5304: *** empty log message *** --- diff --git a/io.lisp b/io.lisp index c444e0f..2d4f3da 100644 --- a/io.lisp +++ b/io.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: io.lisp,v 1.10 2003/06/20 08:50:38 kevin Exp $ +;;;; $Id: io.lisp,v 1.11 2003/07/14 04:10:02 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -169,3 +169,6 @@ #-allegro (write-string (write-to-string n) s)) +(defun null-output-stream () + (when (probe-file #p"/dev/null") + (open #p"/dev/null" :direction :output :if-exists :supersede))) diff --git a/package.lisp b/package.lisp index 754aef5..d11e68f 100644 --- a/package.lisp +++ b/package.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: package.lisp,v 1.49 2003/07/11 06:58:32 kevin Exp $ +;;;; $Id: package.lisp,v 1.50 2003/07/14 04:10:02 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -73,7 +73,8 @@ #:write-fixnum #:file-subst #:stream-subst - + #:null-output-stream + ;; lists.lisp #:remove-tree-if #:find-tree