Redefining *standard-output* on Windows

Bug #1615254 reported by il71
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Invalid
Undecided
Unassigned

Bug Description

SBCL 1.3.8
Windows 10, x86-64

This works on Linux, but fails on Windows:

(setq *standard-output*
      (sb-impl::make-fd-stream 1
                               :output t
                               :buffering :full
                               :external-format :ascii))
(format *standard-output* "qwe")
(finish-output *standard-output*) ; <--- this one

#<THREAD "main thread" RUNNING {10056C6493}>:
  Couldn't write to #<SB-SYS:FD-STREAM for "descriptor 1" {1007AF80E3}>:

Revision history for this message
Stas Boukarev (stassats) wrote :

That's because this code is wrong for windows, and it's internal API, don't use it.

Changed in sbcl:
status: New → Invalid
Revision history for this message
il71 (il71) wrote :

I see. Can you suggest what to do on Windows to speed up output to stdout?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.