From 7f46923feea165d3b6ece6b0df67ffe510441722 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 14 Jun 2000 05:15:08 +0000 Subject: [PATCH] 2000-06-14 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 +++++++++- configure.in | 5 +++-- time.c | 5 ----- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index bae4ed0a5a..a04008efff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,14 @@ +Wed Jun 14 14:07:38 2000 WATANABE Hirofumi + + * io.c: typo(ig/if). + + * re.c: typo(re/reg). add rb_reg_check(). + + * time.c: remove unneeded declare(daylight, timezone). + Wed Jun 14 00:50:14 2000 Wakou Aoyama - * lib/cig.rb: read_multipart(): if no content body then raise EOFError. + * lib/cgi.rb: read_multipart(): if no content body then raise EOFError. Tue Jun 13 11:46:17 2000 Yukihiro Matsumoto diff --git a/configure.in b/configure.in index 86233ea338..03d8f7980e 100644 --- a/configure.in +++ b/configure.in @@ -210,8 +210,9 @@ AC_CHECK_FUNCS(fmod killpg drand48 random wait4 waitpid syscall getcwd\ dlopen sigprocmask sigaction _setjmp setsid getrlimit) AC_STRUCT_TIMEZONE AC_CACHE_CHECK(for external int daylight, rb_cv_have_daylight, - [AC_TRY_LINK([int i;], - [extern int daylight; i = daylight;], + [AC_TRY_LINK([#include + int i;], + [i = daylight;], rb_cv_have_daylight=yes, rb_cv_have_daylight=no)]) if test "$rb_cv_have_daylight" = yes; then diff --git a/time.c b/time.c index fd2c4a8368..ad4ca24630 100644 --- a/time.c +++ b/time.c @@ -272,11 +272,6 @@ static VALUE time_gmtime _((VALUE)); static VALUE time_localtime _((VALUE)); static VALUE time_get_tm _((VALUE, int)); -#if defined(HAVE_DAYLIGHT) && !defined(__MINGW32__) -extern int daylight; -extern long timezone; -#endif - static time_t make_time_t(tptr, utc_or_local) struct tm *tptr;