unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#10616: flush procedure for soft ports isn't called
@ 2012-01-26 22:10 Ian Price
  2012-01-27  5:44 ` Ian Price
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Price @ 2012-01-26 22:10 UTC (permalink / raw)
  To: 10616


Hi guilers,

I've noticed when trying to use soft ports that the 3rd procedure in the
vector doesn't get called when I use `force-output'. The simplest
example follows

scheme@(guile−user)> (let* ((port (make-soft-port
                                   (vector #f #f (lambda () 'flushed) #f #f)
                                   "rw")))
                       (force-output port))
scheme@(guile−user)> 

I have no issues with the other procedures. This is on current stable,
on 32 bit x86 running Fedora 16. More complicated examples available on
request.

-- 
Ian Price

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-10 22:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26 22:10 bug#10616: flush procedure for soft ports isn't called Ian Price
2012-01-27  5:44 ` Ian Price
2012-01-27  6:27   ` Ian Price
2012-01-27  6:44     ` Ian Price
2012-01-27 20:36       ` Ludovic Courtès
2012-01-27 20:51         ` Ian Price
2012-03-08  5:06           ` Mark H Weaver
2012-03-08 13:53           ` Ludovic Courtès
2012-03-08 15:39             ` Mark H Weaver
2012-03-10 22:14               ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).