X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php-fcgi-error_log-no-newlines.patch;fp=php-fcgi-error_log-no-newlines.patch;h=0000000000000000000000000000000000000000;hb=ab1e43498f99fd08685b6f7bf179858efc6920bf;hp=83c45096ac141184734c26869bed7f939fbe5f9e;hpb=029e4361d0227f335d20116b02fca24571663589;p=packages%2Fphp.git diff --git a/php-fcgi-error_log-no-newlines.patch b/php-fcgi-error_log-no-newlines.patch deleted file mode 100644 index 83c4509..0000000 --- a/php-fcgi-error_log-no-newlines.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- php-7.0/sapi/cgi/cgi_main.c~ 2015-05-21 23:12:23.000000000 +0300 -+++ php-7.0/sapi/cgi/cgi_main.c 2015-05-21 23:13:24.947976867 +0300 -@@ -701,12 +701,8 @@ - request = (fcgi_request*) SG(server_context); - if (request) { - int ret, len = (int)strlen(message); -- char *buf = malloc(len+2); - -- memcpy(buf, message, len); -- memcpy(buf + len, "\n", sizeof("\n")); -- ret = fcgi_write(request, FCGI_STDERR, buf, (int)(len + 1)); -- free(buf); -+ ret = fcgi_write(request, FCGI_STDERR, message, len); - if (ret < 0) { - php_handle_aborted_connection(); - }