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

2000-06-14

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-06-14 05:15:08 +00:00
parent aa2a6871ee
commit 7f46923fee
3 changed files with 12 additions and 8 deletions

View file

@ -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>

View file

@ -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

5
time.c
View file

@ -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;