1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 06:41:13 +02:00

* gc-thunk is deprecated. Use after-gc-hook instead.

This commit is contained in:
Dirk Herrmann 2000-06-27 13:52:49 +00:00
parent e5d2c2fa4f
commit ac37358068
2 changed files with 5 additions and 7 deletions

View 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,

View 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))