FreeBSD Bugzilla – Attachment 78740 Details for
Bug 113212
www/jesred: Fix incompatibility with Squid 2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.19 KB, created by
t_uemura
on 2007-06-01 07:00:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
t_uemura
Created:
2007-06-01 07:00:12 UTC
Size:
1.19 KB
patch
obsolete
>diff -u3rN www/jesred.orig/Makefile www/jesred/Makefile >--- www/jesred.orig/Makefile Fri Jan 20 16:50:06 2006 >+++ www/jesred/Makefile Fri Jun 1 14:21:55 2007 >@@ -7,6 +7,7 @@ > > PORTNAME= jesred > PORTVERSION= 1.2.1 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= http://www.linofee.org/~jel/webtools/src/ \ > http://www.acad.bg/ftp/pub/src/misc/ >diff -u3rN www/jesred.orig/files/patch-rewrite.c www/jesred/files/patch-rewrite.c >--- www/jesred.orig/files/patch-rewrite.c Thu Jan 1 09:00:00 1970 >+++ www/jesred/files/patch-rewrite.c Fri Jun 1 14:19:13 2007 >@@ -0,0 +1,30 @@ >+--- rewrite.c.orig Sat Aug 15 09:01:15 1998 >++++ rewrite.c Fri Jun 1 14:01:19 2007 >+@@ -60,7 +60,7 @@ >+ int c, i; >+ struct in_addr address; >+ char *token, *new_token; >+- char *end[4]; >++ char *end[5]; >+ >+ c = 0; >+ token = strchr(buff,' '); >+@@ -87,11 +87,17 @@ >+ *new_token = '\0'; >+ end[3] = new_token; >+ *method = token; >++ new_token = strchr(token,' '); >++ if (new_token) { >++ c++; >++ *new_token = '\0'; >++ end[4] = new_token; >++ } >+ } >+ } >+ } >+ } >+- if(c != 4) { >++ if(c < 4) { >+ for(i = 0; i < c; i++) { >+ if ( end[i] ) >+ *end[i] = ' ';
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 113212
: 78740 |
78741