hsbt_away changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
znz_v has quit [*.net *.split]
sora_h__ has quit [*.net *.split]
znz_v has joined #ruby-core
sora_h__ has joined #ruby-core
idkazuma has quit [Remote host closed the connection]
<znz_jp>
biff: [ruby-changes:28361] knu:r40413 (trunk): * string.c (rb_str_inspect): NUL should not be represented as - http://mla.n-z.jp/?ruby-changes=28361
judofyr has quit [Remote host closed the connection]
nagachika has quit [Remote host closed the connection]
mahoney has joined #ruby-core
<mahoney>
I'm making a custom Marshal '_dump' in C. If I return a string greater than around 16000 characters, I get a 'marshal data too short' error when I try to load it again. Here's what the dump looks like: https://gist.github.com/timahoney/5445313
<mahoney>
Can anybody see anything immediately wrong?
<mahoney>
That code works when the length is around 2000.
<enebo>
mahoney: I am not an MRI committer but I do read the source quite a bit….Couldn't you just do rb_str_new(image_data_array, length_of_image_data_array) and prevent a zillion appends?
<enebo>
mahoney: I am not answering your original question directly but using rb_str_new may not exhibit the same problems and will be hella faster
<mahoney>
enebo: I think I tried that originally, I'll try it again.
ZachBeta has quit [Quit: Computer has gone to sleep.]
ZachBeta has joined #ruby-core
enebo has quit [Quit: enebo]
shiba___ has quit [Ping timeout: 264 seconds]
enebo has joined #ruby-core
mahoney has quit [Remote host closed the connection]
protagoras271 has joined #ruby-core
protagoras271 has quit [Remote host closed the connection]
protagoras271 has joined #ruby-core
protagoras271 has quit [Remote host closed the connection]
ex9t has quit [Read error: Connection reset by peer]
ex9t has joined #ruby-core
<znz_jp>
biff: [ruby-changes:28376] headius:r40428 (trunk): * Typo in defining EWOULDBLOCKWaitReadable on platforms where - http://mla.n-z.jp/?ruby-changes=28376