From 2ffbc18c75d4b31c58fad32950658c90e256b556 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 14 Jul 2003 04:10:02 +0000 Subject: [PATCH] r5304: *** empty log message *** --- io.lisp | 5 ++++- package.lisp | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.34.1