
Hi all, I'm testing HsSyck on a stock debian 5.0 and debian packaged ghc 6.8.2 and 6.10.2 I'm experiencing a strange/repeatable error with Buff packing and unpacking from the attached script. Is this a known issue? Can anyone shed some light? Thanks Paolo (HsSyck)paolo@eee:~/pkgenv$ ./test_yaml ?a? (the script outputs garbage instead of "foo") Thanks Paolo

Excerpts from Paolo Losi's message of Thu May 14 18:15:43 +0200 2009:
Hi all, Hi,
I'm testing HsSyck on a stock debian 5.0 and debian packaged ghc 6.8.2 and 6.10.2
I'm experiencing a strange/repeatable error with Buff packing and unpacking from the attached script. Is this a known issue? Can anyone shed some light?
I've also noticed this problem, I've patched the library by replacing a few unsafePackCString* by their safe counter part. I've already emailed Audrey Tang (CCed) about this without success. The patch is trivial and attached. Best regards, -- Nicolas Pouillard

Nicolas Pouillard wrote:
I've also noticed this problem, I've patched the library by replacing a few unsafePackCString* by their safe counter part.
I've already emailed Audrey Tang (CCed) about this without success.
The patch is trivial and attached.
Thanks Nicolas, it works perfectly with the patch applied. Are you using HsSyck heavily? Could you give me some feedback on its stability? Regards Paolo

Excerpts from Paolo Losi's message of Thu May 14 21:16:31 +0200 2009:
Nicolas Pouillard wrote:
I've also noticed this problem, I've patched the library by replacing a few unsafePackCString* by their safe counter part.
I've already emailed Audrey Tang (CCed) about this without success.
The patch is trivial and attached.
Thanks Nicolas,
it works perfectly with the patch applied. Are you using HsSyck heavily? Could you give me some feedback on its stability?
I use it in two personal applications without any problems. However that's still a binding to syck, and so not very updated with the standard. There is also the YamlReference package but I don't know if it usable for real parsing. -- Nicolas Pouillard
participants (2)
-
Nicolas Pouillard
-
Paolo Losi