php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch php-5.5.0-bug64915.patch for FPM related Bug #64915Patch version 2013-05-24 09:23 UTC Return to Bug #64915 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: remi@php.netdiff -up sapi/fpm/fpm/fpm_stdio.c.old sapi/fpm/fpm/fpm_stdio.c --- sapi/fpm/fpm/fpm_stdio.c.old 2013-05-24 11:10:46.272227302 +0200 +++ sapi/fpm/fpm/fpm_stdio.c 2013-05-24 11:12:47.028641584 +0200 @@ -291,7 +291,11 @@ int fpm_stdio_open_error_log(int reopen) fd = fpm_globals.error_log_fd; /* for FD_CLOSEXEC to work */ } else { fpm_globals.error_log_fd = fd; +#if HAVE_UNISTD_H + if (fpm_global_config.daemonize || !isatty(fpm_globals.error_log_fd)) { +#else if (fpm_global_config.daemonize) { +#endif zlog_set_fd(fpm_globals.error_log_fd); } } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Wed Dec 04 08:01:29 2024 UTC |