aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-yaml/10-detect.patch
blob: ee0f01746eb193b6b0ce8ee8bae48e6d53473f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/detect.c	2017-07-29 17:56:18.000000000 -0400
+++ b/detect.c	2017-10-30 21:15:09.000000000 -0400
@@ -568,7 +568,7 @@ finish:
 			break;
 
 		default:
-			*dval = atof(buf);
+			*dval = zend_strtod(buf, (const char **) NULL);
 			break;
 		}
 	}