diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-07-30 17:04:07 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-07-30 17:04:07 +0200 |
commit | 3e75ec94a9db78ca8e5ea4a50c844b188f6a8fc1 (patch) | |
tree | faa3a80de8acd4d012f5b8e9e30f229d714dc266 /php-syslog.patch | |
parent | a7c33d4b6b8adc746bb83d4732a29d5ef6385542 (diff) |
PHP 5.6.0RC3
Diffstat (limited to 'php-syslog.patch')
-rw-r--r-- | php-syslog.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/php-syslog.patch b/php-syslog.patch deleted file mode 100644 index 3fdbc98..0000000 --- a/php-syslog.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a0ecb3794f00e65cd2a073b2073e32d6c2fb7180 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@php.net> -Date: Fri, 27 Jun 2014 09:45:53 +0200 -Subject: [PATCH] Fix Bug #67530 error_log=syslog ignored - -As for Bug #64915 -Systemd use --nodaemonize but need to error_log to file or syslog to be honoured ---- - sapi/fpm/fpm/fpm_stdio.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/sapi/fpm/fpm/fpm_stdio.c b/sapi/fpm/fpm/fpm_stdio.c -index d81e101..769d3a6 100644 ---- a/sapi/fpm/fpm/fpm_stdio.c -+++ b/sapi/fpm/fpm/fpm_stdio.c -@@ -268,7 +268,11 @@ int fpm_stdio_open_error_log(int reopen) /* {{{ */ - if (!strcasecmp(fpm_global_config.error_log, "syslog")) { - openlog(fpm_global_config.syslog_ident, LOG_PID | LOG_CONS, fpm_global_config.syslog_facility); - fpm_globals.error_log_fd = ZLOG_SYSLOG; -+#if HAVE_UNISTD_H -+ if (fpm_global_config.daemonize || (!isatty(STDERR_FILENO) && !fpm_globals.force_stderr)) { -+#else - if (fpm_global_config.daemonize) { -+#endif - zlog_set_fd(fpm_globals.error_log_fd); - } - return 0; --- -1.9.2 - |