Permalink
Browse files

Make ermine's freebsd happy

  • Loading branch information...
1 parent fcfc1ee commit 92e34a0318067a48fa391cf89679a34c19532fa4 @catap committed Apr 19, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 configure
  2. +1 −1 patches/ngx_http_etag.patch
View
4 configure
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
pushd $(dirname $0) > /dev/null
@@ -11,4 +11,4 @@ pushd nginx > /dev/null
$@
popd > /dev/null
-popd > /dev/null
+popd > /dev/null
View
2 patches/ngx_http_etag.patch
@@ -424,7 +424,7 @@ Index: nginx-catap/nginx/src/http/ngx_http_variables.c
+
+ if (r->headers_out.etag_size >= 0 &&
+ r->headers_out.etag_time >= 0 &&
-+ (ngx_int_t)r->headers_out.etag_uniq >= 0) {
++ r->headers_out.etag_uniq) {
+ p = ngx_pnalloc(r->pool,
+ sizeof("ETag: ") - 1 + NGX_OFF_T_LEN + sizeof("_") - 1
+ + NGX_TIME_T_LEN + sizeof("_") - 1 + NGX_INT_T_LEN);

0 comments on commit 92e34a0

Please sign in to comment.