gray streams: (typo?) cl:clear-output calls sb-gray:stream-force-output instead of sb-gray:stream-clear-output

Bug #1153257 reported by Anton Vodonosov on 2013-03-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stas Boukarev

Bug Description

I think it's a copy/paste issue.

src/code/stream.lisp, line 683:


(defun force-output (&optional (stream *standard-output*))
  (with-out-stream stream (ansi-stream-misc :force-output)

(defun clear-output (&optional (stream *standard-output*))
  (with-out-stream stream (ansi-stream-misc :clear-output)


The second method should invoke stream-clear-output.

Stas Boukarev (stassats) on 2013-03-10
Changed in sbcl:
assignee: nobody → Stas Boukarev (stassats)
Stas Boukarev (stassats) on 2013-03-10
Changed in sbcl:
importance: Undecided → Low
Stas Boukarev (stassats) wrote :

commit ca4e2366c140bec0d0af240c653fc258efc1df21
Author: Stas Boukarev <email address hidden>
Date: Sun Mar 10 19:05:59 2013 +0400

    clear-output: call stream-clear-output on gray streams.

    clear-output should call sb-gray:stream-clear-output instead of

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats) on 2013-03-31
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers