]> git.pld-linux.org Git - packages/perl-libwww.git/commitdiff
- obsolete (merged)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 20 Dec 2004 20:46:38 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-libwww-lwp_download_dest_dir_support.patch -> 1.2

perl-libwww-lwp_download_dest_dir_support.patch [deleted file]

diff --git a/perl-libwww-lwp_download_dest_dir_support.patch b/perl-libwww-lwp_download_dest_dir_support.patch
deleted file mode 100644 (file)
index 1141f1e..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
---- bin/lwp-download   2004-11-14 07:36:25.000000000 +0100
-+++ bin/lwp-download   2004-12-10 21:12:41.136510344 +0100
-@@ -91,7 +91,13 @@
-   sub {
-       unless($file) {
-         my $res = $_[1];
--        unless ($argfile) {
-+
-+        my $directory;
-+        if (defined $argfile && -d $argfile) {
-+            ($directory, $argfile) = ($argfile, undef);
-+        }
-+
-+        unless (defined $argfile && length $argfile) {
-             # must find a suitable name to use.  First thing
-             # to do is to look for the "Content-Disposition"
-             # header defined by RFC1806.  This is also supported
-@@ -130,6 +136,11 @@
-                 }
-             }
-+            if (defined $directory) {
-+                require File::Spec;
-+                $file = File::Spec->catfile($directory, $file);
-+            }
-+
-             # Check if the file is already present
-             if (-f $file && -t) {
-                 $shown = 1;
-@@ -292,3 +303,5 @@
- {
-     die "Usage: $progname [-a] <url> [<lpath>]\n";
- }
-+
-+# vi: ts=8 sw=4
This page took 0.097146 seconds and 4 git commands to generate.