[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-29-g4a2ac0

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-29-g4a2ac06
Date: Wed, 23 Feb 2011 20:09:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  4a2ac0623c3dabb2c8b9d38c27b837dcb2c7fe4e (commit)
      from  40d2a0076af69c3227bc13606aebdb5822ed7f0d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4a2ac0623c3dabb2c8b9d38c27b837dcb2c7fe4e
Author: Andy Wingo <address@hidden>
Date:   Wed Feb 23 21:04:26 2011 +0100

    open-pipe* pumps pipes guardian
    * module/ice-9/popen.scm (open-pipe*): Hack around the lack of an
      after-gc hook, and pump the pipes guardian here in the procedure that
      adds to the guardian.


Summary of changes:
 module/ice-9/popen.scm |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/module/ice-9/popen.scm b/module/ice-9/popen.scm
index c5b02f7..5445ecb 100644
--- a/module/ice-9/popen.scm
+++ b/module/ice-9/popen.scm
@@ -1,6 +1,6 @@
 ;; popen emulation, for non-stdio based ports.
-;;;; Copyright (C) 1998, 1999, 2000, 2001, 2003, 2006, 2010 Free Software 
Foundation, Inc.
+;;;; Copyright (C) 1998, 1999, 2000, 2001, 2003, 2006, 2010, 2011 Free 
Software Foundation, Inc.
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
@@ -139,6 +139,10 @@ A port to the process (based on pipes) is created and 
 @var{modes} specifies whether an input, an output or an input-output
 port to the process is created: it should be the value of
 @code{OPEN_READ}, @code{OPEN_WRITE} or @code{OPEN_BOTH}."
+  ;; Until we get GC hooks working again, pump the guardian here.
+  (reap-pipes)
   (let* ((port/pid (apply open-process mode command args))
         (port (car port/pid)))
     (pipe-guardian port)

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]