[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SLIB load broken.
From: |
Kevin Ryde |
Subject: |
Re: SLIB load broken. |
Date: |
Tue, 15 Jun 2004 08:56:48 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Han-Wen Nienhuys <address@hidden> writes:
>
> guile> (use-modules (ice-9 slib))
>
> ERROR: Unbound variable: system
Oh, it got stricter about redefinitions within modules I guess. Maybe
it should be
(if (defined? 'system)
(begin
(define guile-core-system system)
(define-public system
(lambda (str)
(let ((st (guile-core-system str)))
(or (status:exit-val st)
(+ 128 (or (status:term-sig st)
(status:stop-sig st)))))))))