unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: SLIB load broken.
Date: Tue, 15 Jun 2004 08:56:48 +1000	[thread overview]
Message-ID: <87llipoij3.fsf@zip.com.au> (raw)
In-Reply-To: <16588.29572.730765.248988@localhost.localdomain> (Han-Wen Nienhuys's message of "Sun, 13 Jun 2004 17:32:20 +0200")

Han-Wen Nienhuys  <hanwen@xs4all.nl> 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)))))))))


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


      reply	other threads:[~2004-06-14 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-13 15:32 SLIB load broken Han-Wen Nienhuys
2004-06-14 22:56 ` Kevin Ryde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87llipoij3.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).