+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,
(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))