Record error when CreateDir fails.
[chromium-blink-merge.git] / base / third_party / dmg_fp / float_precision_crash.patch
blobdf64e7e0c157f1a80c059ee37bb87753941a0927
1 diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc
2 index 3f7e794..3312fa4 100644
3 --- dtoa.cc
4 +++ dtoa.cc
5 @@ -3891,7 +3891,7 @@ dtoa
6 goto no_digits;
7 goto one_digit;
9 - for(i = 1;; i++, dval(&u) *= 10.) {
10 + for(i = 1; i <= k + 1; i++, dval(&u) *= 10.) {
11 L = (Long)(dval(&u) / ds);
12 dval(&u) -= L*ds;
13 #ifdef Check_FLT_ROUNDS