rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] [Fwd: [librsync-devel] 'internal error: job made no


From: David Kempe
Subject: [rdiff-backup-users] [Fwd: [librsync-devel] 'internal error: job made no progress' on 25G file - Bug Request ID: 1110812]
Date: Tue, 28 Feb 2006 14:10:05 +1100
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

Hi, here is some good news from a guy who has been working for this on me - should put an end to the 4GB file limit.
Can we please have some extensive testing on this patch to see if it works?
you will need to patch your librsync and rebuild rdiff-backup against the new librsync I think.
Here is the patch:


-----------------------------------

brsync-0.9.7/mdfour.h librsync-0.9.7dev/mdfour.h
--- librsync-0.9.7/mdfour.h     2004-02-08 10:17:57.000000000 +1100
+++ librsync-0.9.7dev/mdfour.h  2006-02-27 14:35:26.086597250 +1100
@@ -24,7 +24,7 @@
 #include "types.h"

 struct rs_mdfour {
-    int                 A, B, C, D;
+    unsigned int        A, B, C, D;
 #if HAVE_UINT64
     uint64_t            totalN;
 #else
diff -urN librsync-0.9.7/patch.c librsync-0.9.7dev/patch.c
--- librsync-0.9.7/patch.c      2004-09-18 07:35:50.000000000 +1000
+++ librsync-0.9.7dev/patch.c   2006-02-27 14:39:46.862894750 +1100
@@ -214,12 +214,12 @@
     void            *buf, *ptr;
     rs_buffers_t    *buffs = job->stream;

-    len = job->basis_len;
-
     /* copy only as much as will fit in the output buffer, so that we
      * don't have to block or store the input. */
-    if (len > buffs->avail_out)
+    if (job->basis_len > buffs->avail_out)
         len = buffs->avail_out;
+    else
+        len = job->basis_len;

     if (!len)
         return RS_BLOCKED;
--- Begin Message --- Subject: [librsync-devel] 'internal error: job made no progress' on 25G file - Bug Request ID: 1110812 Date: Mon, 27 Feb 2006 13:32:36 +0800
There is a small patch file for Bug Request ID: 1110812 available in
Patch Tracker ID: 1439412.

The error 'internal error: job made no progress' occured on files over
4Gig in size.

https://sourceforge.net/tracker/index.php?func=detail&aid=1439412&group_id=56125&atid=479441

Don Malcolm


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
librsync-devel mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/librsync-devel


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]