BackupPC-users

Re: [BackupPC-users] RSYNC xfer failing backuppc version 3.2.0beta0

2009-04-13 02:40:49
Subject: Re: [BackupPC-users] RSYNC xfer failing backuppc version 3.2.0beta0
From: Paul Mantz <pcmantz AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 13 Apr 2009 01:36:47 -0500
On Mon, Apr 13, 2009 at 12:57 AM, Craig Barratt
<cbarratt AT users.sourceforge DOT net> wrote:
> Yes, like other non-builtin modules, the ftp code should load this
> module inside an eval() in the BEGIN block, and set a flag if it
> fails.  In particular, this line:
>
>    use File::Listing qw/parse_dir/;
>
> in lib/BackupPC/Xfer/Ftp.pm should be moved inside the BEGIN block and
> used with an eval.  It's not quite as simple as adding File::Listing to
> this list:
>
>    my @FTPLibs = qw( Net::FTP Net::FTP::RetrHandle );
>
> since it needs the "qw/parse_dir/".
>
> Craig

I've got a patch that I'll submit tomorrow after I test it.


Adios,

-- 
Paul Mantz
http://www.mcpantz.org
BackupPC - Network Backup with De-Duplication http://www.backuppc.com
Zmanda - Open source backup and recovery http://www.zmanda.com/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/