1
0
mirror of https://github.com/php/php-src.git synced 2026-04-15 20:11:02 +02:00

Merge branch 'PHP-7.3'

This commit is contained in:
Jakub Zelenka
2018-08-05 20:37:46 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ PHP_ARG_ENABLE(fpm,,
dnl configure checks {{{
AC_DEFUN([AC_FPM_STDLIBS],
[
AC_CHECK_FUNCS(setenv clearenv setproctitle)
AC_CHECK_FUNCS(setenv clearenv setproctitle setproctitle_fast)
AC_SEARCH_LIBS(socket, socket)
AC_SEARCH_LIBS(inet_addr, nsl)

View File

@@ -119,7 +119,9 @@ static char * nvmatch(char *s1, char *s2) /* {{{ */
void fpm_env_setproctitle(char *title) /* {{{ */
{
#ifdef HAVE_SETPROCTITLE
#if defined(HAVE_SETPROCTITLE_FAST)
setproctitle_fast("%s", title);
#elif defined(HAVE_SETPROCTITLE)
setproctitle("%s", title);
#else
#ifdef __linux__