Hi,

In message "Re: [BUG] syck segfaults when used in rdoc"

|Y> -    if ( len + at >= e->bufsize )
|Y> +    while ( len + at >= e->bufsize )
|
| Well, I don't understand sorry. For me the problem is in the for (;;)

Like this?

--- ext/syck/emitter.c	21 Dec 2003 15:38:01 -0000	1.9
+++ ext/syck/emitter.c	28 Dec 2003 17:20:51 -0000
@@ -241,3 +241,3 @@ syck_emitter_write( SyckEmitter *e, char
 	    S_MEMCPY( e->marker, str, char, rest );
-	    e->marker += len;
+	    e->marker += rest;
 	    str += rest;

Probably it's too late (2:21am) here to hack.  Sorry.


							matz.