diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-26 05:29:06 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-26 05:29:06 +0000 |
| commit | d2fbacfcf976a58e545c91d740b102048c67fc7b (patch) | |
| tree | f352837db7633a5d6355461ca14f0f870d951e86 /configure.in | |
| parent | 7cedde03e9c7d437fa9dbbc65865809536e76067 (diff) | |
| download | ruby-d2fbacfcf976a58e545c91d740b102048c67fc7b.tar.gz ruby-d2fbacfcf976a58e545c91d740b102048c67fc7b.tar.xz ruby-d2fbacfcf976a58e545c91d740b102048c67fc7b.zip | |
* eval.c (proc_call): should not modify ruby_block->frame.iter
based on ruby_frame->iter altered by PUSH_ITER().
* eval.c (rb_thread_fd_close): should save current context before
raising exception.
* io.c (set_stdin): preserve original stdin.
* io.c (set_outfile): preserve original stdout/stderr.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9d42330a2..ebdb0fd49 100644 --- a/configure.in +++ b/configure.in @@ -270,7 +270,8 @@ check(tm, y, m, d, h, s) struct tm *tm; int y, m, d, h, s; { - if (tm->tm_year != y || + if (!tm || + tm->tm_year != y || tm->tm_mon != m-1 || tm->tm_mday != d || tm->tm_hour != h || |
