diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-22 01:40:09 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-22 01:40:09 +0000 |
commit | 8da932fe46bad40937605633605dd61fd16fcde5 (patch) | |
tree | a54a2d3c0e38a908a67e0912138790f6081cd0b6 /time.c | |
parent | d5704eb61aee97081c0ceed99608be4287835c23 (diff) |
* dir.c (glob_helper): C99(gcc)-ism.
* time.c (find_time_t): GUESS macro needs the variable named ``result''
always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1534,7 +1534,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp) struct tm *tm, tm_lo, tm_hi; int d, have_guess; int find_dst; - IF_HAVE_GMTIME_R(struct tm result); + struct tm result; #define GUESS(p) (utc_p ? gmtime_with_leapsecond(p, &result) : LOCALTIME(p, result)) find_dst = 0 < tptr->tm_isdst; |