[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix `get-string-n!' &i/o-decoding exception behavior
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] Fix `get-string-n!' &i/o-decoding exception behavior |
Date: |
Sun, 11 Nov 2012 18:45:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
I wrote:
> (raise (make-i/o-decoding-error port))
>
> This can be written in C as follows:
>
> scm_call_1 (scm_c_public_ref ("rnrs exceptions", "raise"),
> scm_call_1 (scm_c_public_ref ("rnrs io ports",
> "make-i/o-decoding-error")));
Sorry, I forgot to pass 'port'. It should be:
scm_call_1 (scm_c_public_ref ("rnrs exceptions", "raise"),
scm_call_1 (scm_c_public_ref ("rnrs io ports",
"make-i/o-decoding-error"),
port));
Mark