ruby-changes:59053
From: KOSAKI <ko1@a...>
Date: Tue, 3 Dec 2019 19:50:54 +0900 (JST)
Subject: [ruby-changes:59053] 7f2cd2ae6f (master): fix typo
https://git.ruby-lang.org/ruby.git/commit/?id=7f2cd2ae6f From 7f2cd2ae6fea76ff3a2b95b69e6e2f749e8a249f Mon Sep 17 00:00:00 2001 From: KOSAKI Motohiro <kosaki.motohiro@g...> Date: Tue, 3 Dec 2019 10:50:16 +0000 Subject: fix typo diff --git a/time.c b/time.c index 137d5e0..25b843e 100644 --- a/time.c +++ b/time.c @@ -3268,7 +3268,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp) https://github.com/ruby/ruby/blob/trunk/time.c#L3268 status = 0; } if (guess <= guess_lo || guess_hi <= guess) { - /* Precious guess is invalid. try binary search. */ + /* Previous guess is invalid. try binary search. */ #ifdef DEBUG_GUESSRANGE 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); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/