diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-14 05:15:08 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-14 05:15:08 +0000 |
| commit | ab053e27443ffc4482814a59e3da0a28edbb9612 (patch) | |
| tree | f2f72daaff721d6841d5c0c2041e986a9aca2a8d | |
| parent | 81c177a2422cdd95ac83a2e72deb1698225e2db5 (diff) | |
| download | ruby-ab053e27443ffc4482814a59e3da0a28edbb9612.tar.gz ruby-ab053e27443ffc4482814a59e3da0a28edbb9612.tar.xz ruby-ab053e27443ffc4482814a59e3da0a28edbb9612.zip | |
2000-06-14
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 10 | ||||
| -rw-r--r-- | configure.in | 5 | ||||
| -rw-r--r-- | time.c | 5 |
3 files changed, 12 insertions, 8 deletions
@@ -1,6 +1,14 @@ +Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp> + + * 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 <wakou@fsinet.or.jp> - * 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 <matz@netlab.co.jp> diff --git a/configure.in b/configure.in index 86233ea33..03d8f7980 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 <time.h> + int i;], + [i = daylight;], rb_cv_have_daylight=yes, rb_cv_have_daylight=no)]) if test "$rb_cv_have_daylight" = yes; then @@ -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; |
