From 4e716ab55007a60923ddae0345d82a7de2174c88 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 11 Dec 2007 21:41:00 +0000 Subject: Remove www/squid25 as scheduled, but deferred due to ports freeze: 2007-10-31 www/squid25: This version is no longer supported by the developers --- www/squid25/files/patch-src-ftp.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 www/squid25/files/patch-src-ftp.c (limited to 'www/squid25/files/patch-src-ftp.c') diff --git a/www/squid25/files/patch-src-ftp.c b/www/squid25/files/patch-src-ftp.c deleted file mode 100644 index 44f28b75646f..000000000000 --- a/www/squid25/files/patch-src-ftp.c +++ /dev/null @@ -1,24 +0,0 @@ -Patch for Squid bug #1857, obtained from Squid bugzilla 2007-01-15. - ---- src/ftp.c.orig Sun Feb 26 00:34:13 2006 -+++ src/ftp.c Mon Jan 15 19:46:29 2007 -@@ -441,7 +441,7 @@ - ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); - } else if (ftpState->typecode == 'D') { - const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; -- storeAppendPrintf(e, "[As extended directory]\n", html_quote(path)); -+ storeAppendPrintf(e, "[As extended directory]\n", rfc1738_escape_part(path)); - } - storeAppendPrintf(e, "
\n"); - storeAppendPrintf(e, "
\n"); -@@ -689,8 +689,8 @@ - snprintf(html, 8192, "%s\n", line); - return html; - } -- if (ftpState->flags.dir_slash) -- snprintf(prefix, sizeof(prefix), "%s/", rfc1738_escape_part(ftpState->dirpath)); -+ if (ftpState->flags.dir_slash && ftpState->dirpath && ftpState->typecode != 'D' ) -+ snprintf(prefix, 2048, "%s/", rfc1738_escape_part(ftpState->dirpath)); - else - prefix[0] = '\0'; - /* Handle builtin */ -- cgit v1.2.3