Skip to content

Commit

Permalink
ngx-build: no need to apply the resolver_wev_handler_segfault_with_po…
Browse files Browse the repository at this point in the history
…ll patch to nginx 1.2.7+.
  • Loading branch information
agentzh committed Feb 18, 2013
1 parent 9d73509 commit d78c449
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ngx-build
Expand Up @@ -280,7 +280,9 @@ sub apply_patches {
chdir ".." or die "cannot switch to ..\n"; chdir ".." or die "cannot switch to ..\n";
} }


shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch"); unless ($ver ge '001002007') {
shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch");
}
} }


sub usage { sub usage {
Expand Down

0 comments on commit d78c449

Please sign in to comment.