1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 21:30:29 +02:00

(system): Correction to redefinition, now guile is stricter

about when a define binding comes into existance.
This commit is contained in:
Kevin Ryde 2004-07-05 00:08:24 +00:00
parent 4d0bfea130
commit fbacbccede

View file

@ -257,8 +257,9 @@
;; waitpid with WUNTRACED, but allow for it anyway, just in case.
;;
(if (defined? 'system)
(begin
(define guile-core-system system)
(define-public system
(let ((guile-core-system system))
(lambda (str)
(let ((st (guile-core-system str)))
(or (status:exit-val st)