[#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,

uninit bug in yaml/emitter.c

From: "Pat Eyler" <rubypate@...>
Date: 2006-05-03 02:20:13 UTC
List: ruby-core #7809
During our hacking night, we also looked at an UNINIT bug in yaml/emitter.c
It looked like that actual problem was in syck_scan_scalar.   We think the
following is the right way to fix things, but would appreciate someone looking
at it and committing if appropriate.


diff -p -u -r1.16 emitter.c
--- emitter.c   2 Feb 2006 15:02:49 -0000       1.16
+++ emitter.c   3 May 2006 02:16:07 -0000
@@ -559,7 +559,7 @@ syck_scan_scalar( int req_width, char *c
     }
     if ( ( cursor[0] == '-' || cursor[0] == ':' ||
            cursor[0] == '?' || cursor[0] == ',' ) &&
-           ( cursor[1] == ' ' || cursor[1] == '\n' || len == 1 ) )
+           ( len == 1 || cursor[1] == ' ' || cursor[1] == '\n' ) )
     {
             flags |= SCAN_INDIC_S;
     }


In This Thread

Prev Next