1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merges r29743 from trunk into ruby_1_9_2.

--
* io.c (pipe_finalize): status is success if no process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2010-12-08 08:09:24 +00:00
parent 1f87ac7b87
commit b62f04f5e1
2 changed files with 2 additions and 2 deletions

2
io.c
View file

@ -4793,7 +4793,7 @@ static void
pipe_finalize(rb_io_t *fptr, int noraise)
{
#if !defined(HAVE_FORK) && !defined(_WIN32)
int status;
int status = 0;
if (fptr->stdio_file) {
status = pclose(fptr->stdio_file);
}

View file

@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.2"
#define RUBY_PATCHLEVEL 89
#define RUBY_PATCHLEVEL 90
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9
#define RUBY_VERSION_TEENY 1