[#7872] Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...>

All, I needed a nonblocking socket connect for my asynchronous-event

18 messages 2006/05/14
[#7873] Re: Nonblocking socket-connect — Tanaka Akira <akr@...17n.org> 2006/05/14

In article <3a94cf510605140559l7baa0205le341dac4f47d424b@mail.gmail.com>,

[#7874] Re: Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...> 2006/05/15

How about introducing the method Socket#set_nonblocking, or alternatively

[#7875] Re: Nonblocking socket-connect — Yukihiro Matsumoto <matz@...> 2006/05/15

Hi,

[#7876] Re: Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...> 2006/05/15

Well, it's ok then. I'm comfortable adding in the nonblocking

[#7877] Re: Nonblocking socket-connect — Yukihiro Matsumoto <matz@...> 2006/05/15

Hi,

Re: Possible YAMl bug in 1.8.4

From: Mauricio Fernandez <mfp@...>
Date: 2006-05-09 18:48:22 UTC
List: ruby-core #7855
On Tue, May 09, 2006 at 10:51:54AM +0900, Curt Hibbs wrote:
> Its probably a bug.  I'm not familiar with the specifics, but Ruby
> 1.8.4does have known bugs in its YAML support.
> 
> I haven't verified this, by ruby-mswin32 (upon which the one-click installer
> is built) has a new 1.8.4 build released last month. Since there have not
> been any further releases of Ruby 1.8.4, I'm assuming that this ruby-mswin32
> release includes updated YAML fixes from CVS HEAD.
> 
> Anyway, I'm going to find out and, if so, update the one-click installer for
> its next release.

It's not fixed in CVS (ruby_1_8 branch):

$ ruby -v yaml-bug.rb 
ruby 1.8.4 (2006-05-09) [i686-linux]
/home/batsman/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 4: `    <dt>From: Yukihiro Matsumoto &lt;matz at' (ArgumentError)
        from /home/batsman/usr/lib/ruby/1.8/yaml.rb:133:in `load'
        from yaml-bug.rb:7
$ cat yaml-bug.rb 
require 'yaml'

bug=[{:content=>"\n\n <dl>\n<dt>From: Yukihiro Matsumoto &lt;matz at
ruby-lang.org&gt;</dt>"}]

dumped=YAML.dump(bug)
p YAML::load( dumped )


-- 
Mauricio Fernandez  -   http://eigenclass.org   -  singular Ruby

In This Thread