r24924 - in /branches/upstream/libnet-sftp-foreign-perl/current: Changes META.yml lib/Net/SFTP/Foreign.pm

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Sep 8 19:22:21 UTC 2008


Author: gregoa
Date: Mon Sep  8 19:22:19 2008
New Revision: 24924

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24924
Log:
[svn-upgrade] Integrating new upstream version, libnet-sftp-foreign-perl (1.43+dfsg)

Modified:
    branches/upstream/libnet-sftp-foreign-perl/current/Changes
    branches/upstream/libnet-sftp-foreign-perl/current/META.yml
    branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm

Modified: branches/upstream/libnet-sftp-foreign-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-sftp-foreign-perl/current/Changes?rev=24924&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/Changes (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/Changes Mon Sep  8 19:22:19 2008
@@ -1,4 +1,8 @@
 Revision history for Net::SFTP::Foreign
+
+1.43  Sep 8, 2008
+        - readline was slurping the full file contents (bug report by
+          Sylvain Cousineau).
 
 1.42  Jul 17, 2008
         - experimental support for resuming file transfers

Modified: branches/upstream/libnet-sftp-foreign-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-sftp-foreign-perl/current/META.yml?rev=24924&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/META.yml (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/META.yml Mon Sep  8 19:22:19 2008
@@ -1,12 +1,15 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Net-SFTP-Foreign
-version:      1.42
-version_from: lib/Net/SFTP/Foreign.pm
-installdirs:  site
-requires:
+--- #YAML:1.0
+name:                Net-SFTP-Foreign
+version:             1.43
+abstract:            Secure File Transfer Protocol client
+license:             ~
+author:              
+    - Salvador Fandino <sfandino at yahoo.com>
+generated_by:        ExtUtils::MakeMaker version 6.42
+distribution_type:   module
+requires:     
     Scalar::Util:                  0
     Test::More:                    0
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30_01
+meta-spec:
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm?rev=24924&op=diff
==============================================================================
--- branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm (original)
+++ branches/upstream/libnet-sftp-foreign-perl/current/lib/Net/SFTP/Foreign.pm Mon Sep  8 19:22:19 2008
@@ -1,6 +1,6 @@
 package Net::SFTP::Foreign;
 
-our $VERSION = '1.42';
+our $VERSION = '1.43';
 
 use strict;
 use warnings;
@@ -1019,7 +1019,8 @@
 	or croak 'Usage: $sftp->readline($fh [, $sep])';
 
     my ($sftp, $rfh, $sep) = @_;
-    if (!defined $sep or length $sep == 0) {
+    $sep = "\n" if @_ < 3;
+    if (!defined $sep or $sep eq '') {
 	$sftp->_fill_read_cache($rfh);
 	$sftp->{_error}
 	    and return undef;




More information about the Pkg-perl-cvs-commits mailing list