nginx_tcp_proxy_module
nginx_tcp_proxy_module copied to clipboard
Can't find file to patch at input line 5
When I did as the document: patch -p1 < ./tcp.patch
I got the follow error:
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------------------------------------------------
|diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
|index 770a590..26dd221 100644
|--- a/src/core/ngx_log.c
|+++ b/src/core/ngx_log.c
-------------------------------------------------
File to patch:
Then the shell seams to ask me to provide a file to patch. What can i do ?
PS: My os is redhat 5
See the README:
$ cd nginx-0.7.65/ $ patch -p1< /path/to/nginx_tcp_proxy_module/tcp.patch
On 2011-11-16 12:13, 刘永健 wrote:
When I did as the document:
patch -p1< ./tcp.patch
I got the follow error:Perhaps you used the wrong -p or --strip option? ## The text leading up to this was: |diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c |index 770a590..26dd221 100644 |--- a/src/core/ngx_log.c ## |+++ b/src/core/ngx_log.c File to patch:
Then the shell seams to ask me to provide a file to patch. What can i do ?
PS: My os is redhat 5
Reply to this email directly or view it on GitHub: https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/17
Weibin Yao
Need more information.