From df2d69b49ab1c8b42dd6c18fb63df26aec95f364 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 26 Feb 2001 05:29:06 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 9d42330a2a..ebdb0fd498 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 || -- cgit v1.2.3