fix potential concurrency bugs in port-for-each
authorAndy Wingo <wingo@pobox.com>
Thu, 10 Feb 2011 20:40:25 +0000 (21:40 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 10 Feb 2011 22:16:52 +0000 (23:16 +0100)
commitb7b4aef97cc4b84e1f5ff4707f4a39f1b637544d
tree544e9102f16013ae605ef49e1d425cacb900ec76
parente8065fe452208b82cd36f9437d55760d132fde32
fix potential concurrency bugs in port-for-each

* libguile/ports.c (scm_c_port_for_each): Simplify to avoid concurrency-
  and gc-related bugs.
libguile/ports.c