[#44014] Re: [ruby-core:37707] [Ruby 1.9 - Bug #3781] FIBER_USE_NATIVE が有効だと落ちるスクリプトがある — Narihiro Nakamura <authornari@...>

nariです。

14 messages 2011/07/02
[#44019] Re: [ruby-core:37707] [Ruby 1.9 - Bug #3781] FIBER_USE_NATIVE が有効だと落ちるスクリプトがある — KOSAKI Motohiro <kosaki.motohiro@...> 2011/07/02

> 本当はgc_mark()の際に毎回stack_check()するのがいいと思うのですが、

[#44027] [RubyKaigi] Next version of Ruby 1.8 and 1.9 — "Yuki Sonoda (Yugui)" <yugui@...>

-----BEGIN PGP SIGNED MESSAGE-----

16 messages 2011/07/03

[#44156] [Ruby 1.9 - Feature #5053][Open] ruby コマンドと libruby の食い違いチェック — Makoto Kishimoto <redmine@...>

20 messages 2011/07/19

[#44185] [Ruby 1.9 - Bug #5074][Open] "[BUG] cfp consistency error - send" on TestEnumerator#test_feed_yielder (test/ruby/test_enumerator.rb) — Shota Fukumori <sorah@...>

10 messages 2011/07/22

[#44189] [Ruby 1.9 - Bug #5075][Assigned] invalid *fdp in Mac OS X and FreeBSD over recvmsg with SCM_RIGHTS — Yui NARUSE <naruse@...>

12 messages 2011/07/22

[#44210] 1.9.3 (以降) の BigDecimal について — Tadayoshi Funaba <tadf@...>

BigDecimal() で整数、浮動小数点数、有理数などを受けとれるようになって、

14 messages 2011/07/23
[#44275] Re: 1.9.3 (以降) の BigDecimal について — Tadayoshi Funaba <tadf@...> 2011/07/30

変換には明示的なものとそうでないものがありますが、

[#44276] Re: 1.9.3 (以降) の BigDecimal について — Kenta Murata <muraken@...> 2011/07/31

=E3=82=80=E3=82=89=E3=81=9F=E3=81=A7=E3=81=99=E3=80=82 =20

[#44223] [Ruby 1.9 - Bug #5094][Assigned] Supported platforms of Ruby 1.9.3 — Yui NARUSE <naruse@...>

21 messages 2011/07/25
[#44229] Re: [Ruby 1.9 - Bug #5094][Assigned] Supported platforms of Ruby 1.9.3 — KOSAKI Motohiro <kosaki.motohiro@...> 2011/07/25

> == 成瀬の提案

[#44230] Re: [Ruby 1.9 - Bug #5094][Assigned] Supported platforms of Ruby 1.9.3 — Urabe Shyouhei <shyouhei@...> 2011/07/26

卜部です

[#44236] Re: [Ruby 1.9 - Bug #5094][Assigned] Supported platforms of Ruby 1.9.3 — Yusuke ENDOH <mame@...> 2011/07/26

遠藤です。

[#44254] [Ruby 1.8 - Bug #5105][Open] CGI::Session#session_id の生成方法について — Masahiro Tomita <tommy@...>

14 messages 2011/07/27
[#44256] [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — Yui NARUSE <naruse@...> 2011/07/27

[#44258] Re: [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — とみたまさひろ <tommy@...> 2011/07/27

とみたです。

[#44262] Re: [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — "NARUSE, Yui" <naruse@...> 2011/07/27

(2011/07/27 19:47), とみたまさひろ wrote:

[#44263] Re: [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — とみたまさひろ <tommy@...> 2011/07/27

とみたです。

[#44270] Re: [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — とみたまさひろ <tommy@...> 2011/07/29

とみたです。

[#44271] Re: [Ruby 1.8 - Bug #5105] CGI::Session#session_id の生成方法について — Tanaka Akira <akr@...> 2011/07/29

2011年7月29日20:04 とみたまさひろ <tommy@tmtm.org>:

[ruby-dev:44157] Re: [ruby-changes:20532] akr:r32579 (trunk): * io.c (rb_update_max_fd): new function.

From: KOSAKI Motohiro <kosaki.motohiro@...>
Date: 2011-07-19 08:04:43 UTC
List: ruby-dev #44157
akrさん、
以下のコミットは1.9.3ブランチにも必要な気がするのですが、気のせいでしょうか?


2011/7/19 akr <ko1@atdot.net>:
> akr     2011-07-19 16:10:19 +0900 (Tue, 19 Jul 2011)
>
>  New Revision: 32579
>
>  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32579
>
>  Log:
>    * io.c (rb_update_max_fd): new function.
>
>    * internal.h (rb_update_max_fd): declare rb_update_max_fd.
>
>    * thread_pthread.c (rb_thread_create_timer_thread): update max fd when
>      timer thread pipe is created.
>
>  Modified files:
>    trunk/ChangeLog
>    trunk/internal.h
>    trunk/io.c
>    trunk/thread_pthread.c
>
> Index: ChangeLog
> ===================================================================
> --- ChangeLog   (revision 32578)
> +++ ChangeLog   (revision 32579)
> @@ -1,3 +1,12 @@
> +Tue Jul 19 16:07:45 2011  Tanaka Akira  <akr@fsij.org>
> +
> +       * io.c (rb_update_max_fd): new function.
> +
> +       * internal.h (rb_update_max_fd): declare rb_update_max_fd.
> +
> +       * thread_pthread.c (rb_thread_create_timer_thread): update max fd when
> +         timer thread pipe is created.
> +
>  Mon Jul 18 13:36:47 2011  Aaron Patterson <aaron@tenderlovemaking.com>
>
>        * ext/psych/lib/psych.rb: define a new BadAlias error class.
> Index: thread_pthread.c
> ===================================================================
> --- thread_pthread.c    (revision 32578)
> +++ thread_pthread.c    (revision 32579)
> @@ -1191,6 +1191,8 @@
>            if (err != 0) {
>                rb_bug_errno("thread_timer: Failed to create communication pipe for timer thread", errno);
>            }
> +            rb_update_max_fd(timer_thread_pipe[0]);
> +            rb_update_max_fd(timer_thread_pipe[1]);
>  #if defined(HAVE_FCNTL) && defined(F_GETFL) && defined(F_SETFL)
>            {
>                int oflags;
> Index: io.c
> ===================================================================
> --- io.c        (revision 32578)
> +++ io.c        (revision 32579)
> @@ -155,6 +155,11 @@
>     do { \
>         if (max_file_descriptor < (fd)) max_file_descriptor = (fd); \
>     } while (0)
> +void
> +rb_update_max_fd(int fd)
> +{
> +    UPDATE_MAXFD(fd);
> +}
>
>  #define argf_of(obj) (*(struct argf *)DATA_PTR(obj))
>  #define ARGF argf_of(argf)
> Index: internal.h
> ===================================================================
> --- internal.h  (revision 32578)
> +++ internal.h  (revision 32579)
> @@ -101,6 +101,7 @@
>  void ruby_set_inplace_mode(const char *);
>  ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
>  void rb_stdio_set_default_encoding(void);
> +void rb_update_max_fd(int fd);
>
>  /* iseq.c */
>  VALUE rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE filepath, VALUE line, VALUE opt);
>
> --
> ML: ruby-changes@quickml.atdot.net
> Info: http://www.atdot.net/~ko1/quickml/
>

In This Thread

Prev Next