pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/squidpurge
Module Name: pkgsrc
Committed By: joerg
Date: Mon Mar 30 19:35:19 UTC 2020
Modified Files:
pkgsrc/www/squidpurge: distinfo
Added Files:
pkgsrc/www/squidpurge/patches: patch-copyout.cc
Log Message:
Fix const correctness
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/squidpurge/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/squidpurge/patches/patch-copyout.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/squidpurge/distinfo
diff -u pkgsrc/www/squidpurge/distinfo:1.3 pkgsrc/www/squidpurge/distinfo:1.4
--- pkgsrc/www/squidpurge/distinfo:1.3 Wed Nov 4 02:47:39 2015
+++ pkgsrc/www/squidpurge/distinfo Mon Mar 30 19:35:19 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 02:47:39 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/03/30 19:35:19 joerg Exp $
SHA1 (purge-20040201-src.tar.gz) = 9347ead8f1444c7c8d1828e0c8ff8bd0ca5e0891
RMD160 (purge-20040201-src.tar.gz) = c98c146223d6322850e7203af2b074a40440184a
@@ -7,3 +7,4 @@ Size (purge-20040201-src.tar.gz) = 30572
SHA1 (patch-aa) = cb01736e19a00eaaec18c5e4f61b20ca1609eb1b
SHA1 (patch-ab) = c461769a7eae2f249ec3b8acb4fe40b42f2f411b
SHA1 (patch-ac) = d18823eca80d17a9c3768df5ffd515508b38f38c
+SHA1 (patch-copyout.cc) = 804ead27a304a197e2709779534b4056231849e5
Added files:
Index: pkgsrc/www/squidpurge/patches/patch-copyout.cc
diff -u /dev/null pkgsrc/www/squidpurge/patches/patch-copyout.cc:1.1
--- /dev/null Mon Mar 30 19:35:19 2020
+++ pkgsrc/www/squidpurge/patches/patch-copyout.cc Mon Mar 30 19:35:19 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-copyout.cc,v 1.1 2020/03/30 19:35:19 joerg Exp $
+
+--- copyout.cc.orig 2020-03-29 22:39:59.674899981 +0000
++++ copyout.cc
+@@ -132,7 +132,7 @@ copy_out( size_t filesize, size_t metasi
+ static const char* index = "index.html";
+
+ // find hostname part after the scheme (okok, not counting port, etc.)
+- char* ptr = strstr( url, "://" );
++ const char* ptr = strstr( url, "://" );
+ if ( ptr == 0 || strlen(ptr) < 4 ) return false;
+
+ // create filename to store contents into
Home |
Main Index |
Thread Index |
Old Index