Skip to content

Commit

Permalink
updated the dtrace patches for nginx 1.2.3 and 1.3.4 for FreeBSD. als…
Browse files Browse the repository at this point in the history
…o updated the bundling scripts to make them work on FreeBSD.
  • Loading branch information
agentzh committed Aug 17, 2012
1 parent afcd9fe commit 654bd20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions patches/nginx-1.2.3-dtrace.patch
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ index 3e077fb..b7edb7b 100644
return NGX_CONF_ERROR;
}
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index c5db18f..f23ba51 100644
index c5db18f..ffc7049 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -8,6 +8,7 @@
Expand All @@ -625,7 +625,7 @@ index c5db18f..f23ba51 100644
r->main->subrequests--;

if (r->main->subrequests == 0) {
+ ngx_http_probe_subrequest_cycle(r, &uri, &args);
+ ngx_http_probe_subrequest_cycle(r, uri, args);
+
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"subrequests cycle while processing \"%V\"", uri);
Expand Down
2 changes: 1 addition & 1 deletion patches/nginx-1.3.4-dtrace.patch
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ index c5db18f..f23ba51 100644
r->main->subrequests--;

if (r->main->subrequests == 0) {
+ ngx_http_probe_subrequest_cycle(r, &uri, &args);
+ ngx_http_probe_subrequest_cycle(r, uri, args);
+
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"subrequests cycle while processing \"%V\"", uri);
Expand Down
2 changes: 1 addition & 1 deletion util/get-tarball
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#root=$(readlink -f -- "$(dirname -- "$0")/..")
root=`perl -MCwd -e'print Cwd::abs_path(shift)' $(dirname -- "$0")/..`
Expand Down

0 comments on commit 654bd20

Please sign in to comment.