forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PHP-7.4: Remove HAVE_SIGNAL_H
- Loading branch information
Showing
16 changed files
with
11 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ malloc.h \ | |
unistd.h \ | ||
sys/types.h \ | ||
sys/time.h \ | ||
signal.h \ | ||
unix.h \ | ||
cpuid.h \ | ||
dlfcn.h) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,9 +45,7 @@ | |
# include <unistd.h> | ||
#endif | ||
|
||
#if HAVE_SIGNAL_H | ||
# include <signal.h> | ||
#endif | ||
#include <signal.h> | ||
|
||
#if HAVE_SETLOCALE | ||
# include <locale.h> | ||
|
@@ -1779,7 +1777,6 @@ int main(int argc, char *argv[]) | |
char *decoded_query_string; | ||
int skip_getopt = 0; | ||
|
||
#ifdef HAVE_SIGNAL_H | ||
#if defined(SIGPIPE) && defined(SIG_IGN) | ||
signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so | ||
that sockets created via fsockopen() | ||
|
@@ -1788,7 +1785,6 @@ int main(int argc, char *argv[]) | |
does that for us! [email protected] | ||
20000419 */ | ||
#endif | ||
#endif | ||
|
||
#ifdef ZTS | ||
php_tsrm_startup(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,9 +46,9 @@ | |
#if HAVE_UNISTD_H | ||
#include <unistd.h> | ||
#endif | ||
#if HAVE_SIGNAL_H | ||
|
||
#include <signal.h> | ||
#endif | ||
|
||
#if HAVE_SETLOCALE | ||
#include <locale.h> | ||
#endif | ||
|
@@ -66,10 +66,6 @@ | |
#include "win32/php_registry.h" | ||
#endif | ||
|
||
#if HAVE_SIGNAL_H | ||
#include <signal.h> | ||
#endif | ||
|
||
#ifdef __riscos__ | ||
#include <unixlib/local.h> | ||
#endif | ||
|
@@ -1233,7 +1229,6 @@ int main(int argc, char *argv[]) | |
} | ||
#endif | ||
|
||
#ifdef HAVE_SIGNAL_H | ||
#if defined(SIGPIPE) && defined(SIG_IGN) | ||
signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so | ||
that sockets created via fsockopen() | ||
|
@@ -1242,8 +1237,6 @@ int main(int argc, char *argv[]) | |
does that for us! [email protected] | ||
20000419 */ | ||
#endif | ||
#endif | ||
|
||
|
||
#ifdef ZTS | ||
php_tsrm_startup(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,6 @@ EMBED_SAPI_API int php_embed_init(int argc, char **argv) | |
{ | ||
zend_llist global_vars; | ||
|
||
#ifdef HAVE_SIGNAL_H | ||
#if defined(SIGPIPE) && defined(SIG_IGN) | ||
signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so | ||
that sockets created via fsockopen() | ||
|
@@ -168,7 +167,6 @@ EMBED_SAPI_API int php_embed_init(int argc, char **argv) | |
does that for us! [email protected] | ||
20000419 */ | ||
#endif | ||
#endif | ||
|
||
#ifdef ZTS | ||
php_tsrm_startup(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,7 @@ | |
# include <unistd.h> | ||
#endif | ||
|
||
#if HAVE_SIGNAL_H | ||
# include <signal.h> | ||
#endif | ||
#include <signal.h> | ||
|
||
#if HAVE_SETLOCALE | ||
# include <locale.h> | ||
|
@@ -1567,7 +1565,6 @@ int main(int argc, char *argv[]) | |
zend_bool old_rc_debug; | ||
#endif | ||
|
||
#ifdef HAVE_SIGNAL_H | ||
#if defined(SIGPIPE) && defined(SIG_IGN) | ||
signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so | ||
that sockets created via fsockopen() | ||
|
@@ -1576,7 +1573,6 @@ int main(int argc, char *argv[]) | |
does that for us! [email protected] | ||
20000419 */ | ||
#endif | ||
#endif | ||
|
||
#ifdef ZTS | ||
php_tsrm_startup(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters