diff options
| author | Stig Bakken <ssb@php.net> | 2000-08-27 19:46:06 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2000-08-27 19:46:06 +0000 |
| commit | 315f4f5658cf22a17ba06fa2ca2f3d890355873f (patch) | |
| tree | 3dd1134c1d1c3821b48fab806884123f09b2d21f /sapi/cgi/cgi_main.c | |
| parent | 7eeda99a055df5a510d3d20526e9adcb42fecdb0 (diff) | |
| download | php-git-315f4f5658cf22a17ba06fa2ca2f3d890355873f.tar.gz | |
@PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows. See tests/README for how to write tests. Added the PHP 3
tests and converted most of them.
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 6e5ae10467..6b57cffba4 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -391,12 +391,14 @@ int main(int argc, char *argv[]) #endif -#if HAVE_SIGNAL_H +#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() don't kill PHP if the remote site closes it. - in apache|apxs mode apache does that for us! - thies@digicol.de 20000419 */ + signal(SIGPIPE,SIG_IGN); /* ignore SIGPIPE in standalone mode so + that sockets created via fsockopen() + don't kill PHP if the remote site + closes it. in apache|apxs mode apache + does that for us! thies@digicol.de + 20000419 */ #endif #endif @@ -754,3 +756,9 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine return exit_status; } +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + */ |
