From ca8272a7473ff5673b2da1ec7b6f9eeb87354a76 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Fri, 7 Jan 2005 18:10:50 +0000 Subject: [PATCH] 0.8.18.18: Fix for OUTPUT-NOTHING restart ... don't advance by a character if we don't output anything --- src/code/fd-stream.lisp | 4 ++-- version.lisp-expr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/code/fd-stream.lisp b/src/code/fd-stream.lisp index 1f82f56..dfadf54 100644 --- a/src/code/fd-stream.lisp +++ b/src/code/fd-stream.lisp @@ -251,8 +251,8 @@ (file-position ,stream-var (file-position ,stream-var)))) (with-simple-restart (output-nothing "~@") - ,@body) - (incf (fd-stream-obuf-tail ,stream-var) ,size) + ,@body + (incf (fd-stream-obuf-tail ,stream-var) ,size)) ,(ecase (car buffering) (:none `(flush-output-buffer ,stream-var)) diff --git a/version.lisp-expr b/version.lisp-expr index 971ce00..dc8e7f4 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.8.18.17" +"0.8.18.18" -- 1.7.10.4