[nginx] Removed --test-build-eventport workaround for old FreeBSD versions.

Sergey Kandaurov pluknet at nginx.com
Mon Jan 28 17:16:34 UTC 2019


details:   https://hg.nginx.org/nginx/rev/3c51385e5da1
branches:  
changeset: 7449:3c51385e5da1
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Mon Jan 28 14:34:02 2019 +0000
description:
Removed --test-build-eventport workaround for old FreeBSD versions.

diffstat:

 src/event/modules/ngx_eventport_module.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 7f035fd1ec7b -r 3c51385e5da1 src/event/modules/ngx_eventport_module.c
--- a/src/event/modules/ngx_eventport_module.c	Mon Jan 28 14:33:31 2019 +0000
+++ b/src/event/modules/ngx_eventport_module.c	Mon Jan 28 14:34:02 2019 +0000
@@ -250,9 +250,7 @@ ngx_eventport_init(ngx_cycle_t *cycle, n
 
         ngx_memzero(&sev, sizeof(struct sigevent));
         sev.sigev_notify = SIGEV_PORT;
-#if !(NGX_TEST_BUILD_EVENTPORT)
         sev.sigev_value.sival_ptr = &pn;
-#endif
 
         if (timer_create(CLOCK_REALTIME, &sev, &event_timer) == -1) {
             ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno,


More information about the nginx-devel mailing list