ruby-changes:62026
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Mon, 29 Jun 2020 11:07:52 +0900 (JST)
Subject: [ruby-changes:62026] da8af471fb (master): find_time_t: reset status before goto
https://git.ruby-lang.org/ruby.git/commit/?id=da8af471fb From da8af471fb0989fe317ae4170dfa7ba7189d9a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Thu, 25 Jun 2020 09:50:06 +0900 Subject: find_time_t: reset status before goto diff --git a/time.c b/time.c index ca571c8..1cdeeb8 100644 --- a/time.c +++ b/time.c @@ -3295,6 +3295,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp) https://github.com/ruby/ruby/blob/trunk/time.c#L3295 if (guess <= guess_lo) fprintf(stderr, "too small guess: %ld <= %ld\n", guess, guess_lo); if (guess_hi <= guess) fprintf(stderr, "too big guess: %ld <= %ld\n", guess_hi, guess); #endif + status = 0; goto binsearch; } } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/