From: Peter J. Acklam Date: Fri, 7 Jan 2011 07:08:02 +0000 (-0800) Subject: Fix typos (spelling errors) in cpan/File-Fetch/*. X-Git-Tag: accepted/trunk/20130322.191538~6210^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=759feaa69fc1e9dbe055a96e49485c33d6bef857;p=platform%2Fupstream%2Fperl.git Fix typos (spelling errors) in cpan/File-Fetch/*. # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81802] # in the subject line of all future correspondence about this issue. # Signed-off-by: Chris 'BinGOs' Williams --- diff --git a/cpan/File-Fetch/lib/File/Fetch.pm b/cpan/File-Fetch/lib/File/Fetch.pm index 8bdae35..2223a5e 100644 --- a/cpan/File-Fetch/lib/File/Fetch.pm +++ b/cpan/File-Fetch/lib/File/Fetch.pm @@ -723,7 +723,7 @@ sub _iosock_fetch { } # Check the "response" - # Strip preceeding blank lines apparently they are allowed (RFC 2616 4.1) + # Strip preceding blank lines apparently they are allowed (RFC 2616 4.1) $resp =~ s/^(\x0d?\x0a)+//; # Check it is an HTTP response unless ( $resp =~ m!^HTTP/(\d+)\.(\d+)!i ) { @@ -1087,7 +1087,7 @@ sub _ncftp_fetch { }; check( $tmpl, \%hash ) or return; - ### we can only set passive mode in interactive sesssions, so bail out + ### we can only set passive mode in interactive sessions, so bail out ### if $FTP_PASSIVE is set return if $FTP_PASSIVE; @@ -1256,7 +1256,7 @@ sub _file_fetch { ### prefix a / on unix systems with a file uri, since it would ### look somewhat like this: ### file:///home/kane/file - ### wheras windows file uris for 'c:\some\dir\file' might look like: + ### whereas windows file uris for 'c:\some\dir\file' might look like: ### file:///C:/some/dir/file ### file:///C|/some/dir/file ### or for a network share '\\host\share\some\dir\file': @@ -1554,7 +1554,7 @@ which we in turn capture. If that content is a 'custom' error file Sadly, C doesn't support any options to return a different exit code on non-C<200 OK> status, giving us no way to tell the difference -between a 'successfull' fetch and a custom error page. +between a 'successful' fetch and a custom error page. Therefor, we recommend to only use C as a last resort. This is why it is at the back of our list of methods to try as well.