From 1dce3b071e35b2772e78c7cc1e16ce1069e3c94b Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 22 Aug 2008 03:42:09 +0000 Subject: [PATCH] * io.c (rb_io_pid): use PIDT2NUM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ io.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c6933f2315..4e74e92250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 22 12:41:47 2008 Tanaka Akira + + * io.c (rb_io_pid): use PIDT2NUM. + Fri Aug 22 11:36:31 2008 NARUSE, Yui * dir.c (dir_enc_str_new): set US-ASCII to the path diff --git a/io.c b/io.c index 217066b04a..3ce2d2a21e 100644 --- a/io.c +++ b/io.c @@ -1262,7 +1262,7 @@ rb_io_pid(VALUE io) GetOpenFile(io, fptr); if (!fptr->pid) return Qnil; - return INT2FIX(fptr->pid); + return PIDT2NUM(fptr->pid); }