On 2/1/07, Robin Lee Powell <[EMAIL PROTECTED]> wrote:

The following output occurs:

[EMAIL PROTECTED]> csc -O2 -d0 /tmp/stn.scm ; /tmp/stn
4107
#f
5065
zsh: segmentation fault  /tmp/stn

I'm not going to try to patch it, because I *loathe* C.  In fact,
I'm using Scheme largely *because* I loathe C (I'm replacing bits of
C in the project I'm working on with it).

And right you are about loathing it, because otherwise you might even
make mistakes like this:

% darcs diff runtime.c
7278c7278
<   C_memcpy(sptr = buffer, C_c_string(str), n);
---
  C_memcpy(sptr = buffer, C_c_string(str), n > (STRING_BUFFER_SIZE - 1) ? 
STRING_BUFFER_SIZE : n);


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to