From fa6f9e100476fbdd65495524616a0373edb24f87 Mon Sep 17 00:00:00 2001 From: Julien Pauli Date: Wed, 10 Jun 2015 14:15:14 +0200 Subject: Fix wrong merge --- ext/dom/document.c | 2 +- ext/gd/gd.c | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ext/dom/document.c b/ext/dom/document.c index a66450df0a..d82ca92096 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -1991,7 +1991,7 @@ static void _dom_document_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type int is_valid; char resolved_path[MAXPATHLEN + 1]; - if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Op|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAILURE) { + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAILURE) { return; } diff --git a/ext/gd/gd.c b/ext/gd/gd.c index dd4a9efdc0..76e2c5bf55 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -3866,9 +3866,8 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int #endif /* VIRTUAL_DIR */ PHP_GD_CHECK_OPEN_BASEDIR(fontname, "Invalid font filename"); - -#ifdef USE_GD_IMGSTRTTF -# if HAVE_GD_STRINGFTEX + +#ifdef HAVE_GD_FREETYPE if (extended) { error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); } @@ -4445,12 +4444,7 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) int x, y; float x_ratio, y_ratio; long ignore_warning; -<<<<<<< HEAD -======= -#endif - ->>>>>>> f7d7bef... Fix #69719 - more checks for nulls in paths if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pplll", &f_org, &f_org_len, &f_dest, &f_dest_len, &height, &width, &threshold) == FAILURE) { return; } -- cgit v1.2.1