Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4890 - trunk/src/os/unix

Anonymous User
October 18, 2012 10:50AM
Author: mdounin
Date: 2012-10-18 14:48:33 +0000 (Thu, 18 Oct 2012)
New Revision: 4890
URL: http://trac.nginx.org/nginx/changeset/4890/nginx

Log:
Removed conditional compilation from waitpid() error test.

There are reports that call to a signal handler for an exited process
despite waitpid() already called for the process may happen on Linux
as well.


Modified:
trunk/src/os/unix/ngx_process.c

Modified: trunk/src/os/unix/ngx_process.c
===================================================================
--- trunk/src/os/unix/ngx_process.c 2012-10-18 14:27:40 UTC (rev 4889)
+++ trunk/src/os/unix/ngx_process.c 2012-10-18 14:48:33 UTC (rev 4890)
@@ -474,8 +474,6 @@
return;
}

-#if (NGX_SOLARIS || NGX_FREEBSD)
-
/*
* Solaris always calls the signal handler for each exited process
* despite waitpid() may be already called for this process.
@@ -491,8 +489,6 @@
return;
}

-#endif
-
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err,
"waitpid() failed");
return;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4890 - trunk/src/os/unix

Anonymous User 953 October 18, 2012 10:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready