summaryrefslogtreecommitdiff
path: root/www/webcopy/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-09-15 16:41:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-09-15 16:41:39 +0000
commit73a15189a05841dc8ada9eb94182ad7a8d8099b8 (patch)
tree3dfba42f8285f86d28871711f12e3784e5559646 /www/webcopy/files
parentadd sunclock to SUBDIRs list (diff)
Return NO_PACKAGE back - don't distribute modified copies
Pass If-Modified-Since for user password case Fix fetching for missing space cases Submitted by: gibbs
Notes
Notes: svn path=/head/; revision=3785
Diffstat (limited to 'www/webcopy/files')
-rw-r--r--www/webcopy/files/patch-ab40
1 files changed, 38 insertions, 2 deletions
diff --git a/www/webcopy/files/patch-ab b/www/webcopy/files/patch-ab
index 02d3a1183185..81a2175b40d0 100644
--- a/www/webcopy/files/patch-ab
+++ b/www/webcopy/files/patch-ab
@@ -1,5 +1,5 @@
-*** webcopy.src.orig Sat Jun 8 20:42:14 1996
---- webcopy.src Sat Sep 14 04:30:41 1996
+*** webcopy.src.old Sat Jun 8 20:42:14 1996
+--- webcopy.src Sun Sep 15 20:14:20 1996
***************
*** 1,4 ****
! #!%PERL% -- # -*- perl -*-
@@ -21,3 +21,39 @@
&check_tag("BGSOUND", "SRC", $image) ||
&check_tag("FRAME", "SRC", $link) ||
&check_tag("AREA", "HREF", $link) ||
+***************
+*** 316,323 ****
+ ($quote)=$value=~/^([\"\'])/;
+ if ($quote) {
+ if ($value!~/.$quote$/) {
+! ($_,$etc)=$etc=~/^([^$quote]*)$quote?(.*)$/;
+! $value.=$_.$quote;
+ }
+ $value=~s/$quote\s*(.*)\s*$quote$/$1/;
+ $value=~s/\s*$//;
+--- 317,324 ----
+ ($quote)=$value=~/^([\"\'])/;
+ if ($quote) {
+ if ($value!~/.$quote$/) {
+! ($_,$etc)=$value=~/^($quote[^$quote]*)$quote?(.*)$/;
+! $value=$_.$quote;
+ }
+ $value=~s/$quote\s*(.*)\s*$quote$/$1/;
+ $value=~s/\s*$//;
+***************
+*** 460,466 ****
+ local($url,$file)=@_;
+ local($status,$code,$info,$line,$length,$html,$redirect,$update,$data,
+ $bytes,$step,$slice);
+! if ($useremote || $userpass) {
+ $update="Pragma: no-cache${rn}";
+ } else {
+ (($update=(($_=&get_date($file))) &&
+--- 461,467 ----
+ local($url,$file)=@_;
+ local($status,$code,$info,$line,$length,$html,$redirect,$update,$data,
+ $bytes,$step,$slice);
+! if ($useremote) {
+ $update="Pragma: no-cache${rn}";
+ } else {
+ (($update=(($_=&get_date($file))) &&