On Oct 25, 2010, at 3:39 PM, Rob Poe wrote:

> I'm having an irritating problem with BackupPC for a client of mine.
> 
> They're still running some Netware (yes, I know ...), and the 
> File::RsyncP perl module is barfing on the Netware rsync.
> 
> https://rt.cpan.org/Public/Bug/Display.html?id=61882


try something like

alarm(0) if ( $rs->{timeout} );
my $errcnt = 0;
unless ( $line =~ m/\...@rsyncd:\s*(\d+)/ ) {
        if ( $errcnt > 10 ) {
                die "unexpected response from rsync"
        } 
        $line = ->getLine;
        $errcnt++;
}

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to