* gc-thunk is deprecated. Use after-gc-hook instead.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Tue, 27 Jun 2000 13:52:49 +0000 (13:52 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Tue, 27 Jun 2000 13:52:49 +0000 (13:52 +0000)
ice-9/ChangeLog
ice-9/popen.scm

index 8c121cd..a1234ac 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-27  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * popen.scm:  gc-thunk is deprecated.  Use after-gc-hook instead.
+
 2000-06-16  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * common-list.scm (intersection, set-difference, remove-if,
index 5689e5f..6919f0e 100644 (file)
@@ -95,13 +95,7 @@ information on how to interpret this value."
                   (close-process-quietly (cons p pid))))
             (loop (pipe-guardian)))))))
 
-(set! gc-thunk 
-      (let ((old-thunk gc-thunk))
-       (lambda ()
-         (if old-thunk (old-thunk))
-         (reap-pipes))))
-
-;; (add-hook! after-gc-hook reap-pipes)
+(add-hook! after-gc-hook reap-pipes)
 
 (define-public (open-input-pipe command) (open-pipe command OPEN_READ))
 (define-public (open-output-pipe command) (open-pipe command OPEN_WRITE))