| Index: third_party/libxslt/libexslt/math.c
|
| diff --git a/third_party/libxslt/libexslt/math.c b/third_party/libxslt/libexslt/math.c
|
| index a1971e0598adea06909166ab1aad174117dc18ed..6b24dbe0d9c143cb4ed5cc13c5d2483a22011244 100644
|
| --- a/third_party/libxslt/libexslt/math.c
|
| +++ b/third_party/libxslt/libexslt/math.c
|
| @@ -298,7 +298,7 @@ static void
|
| exsltMathLowestFunction (xmlXPathParserContextPtr ctxt, int nargs) {
|
| xmlNodeSetPtr ns, ret;
|
| void *user = NULL;
|
| -
|
| +
|
|
|
| if (nargs != 1) {
|
| xmlXPathSetArityError(ctxt);
|
| @@ -368,7 +368,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_PI, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "E")) {
|
| @@ -376,7 +376,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_E, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "SQRRT2")) {
|
| @@ -384,7 +384,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_SQRRT2, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "LN2")) {
|
| @@ -392,7 +392,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_LN2, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "LN10")) {
|
| @@ -400,7 +400,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_LN10, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "LOG2E")) {
|
| @@ -408,7 +408,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_LOG2E, 0, len);
|
|
|
| } else if (xmlStrEqual(name, BAD_CAST "SQRT1_2")) {
|
| @@ -416,7 +416,7 @@ exsltMathConstant (xmlChar *name, double precision) {
|
|
|
| if (precision <= len)
|
| len = (int)precision;
|
| -
|
| +
|
| str = xmlStrsub(EXSLT_SQRT1_2, 0, len);
|
|
|
| } else {
|
|
|