I added the following lines to util.c as a temporary fix:
#define DATA_FD_COUNT 3 /* number of general-use pipes */
#define DATA_FD_OFFSET 50
I ran three test backups, and each succeeded:
- forced full, without compression, no index
- forced full, with compression and index
- unforced, with compression and index
Thanks,
Michael
On Mon, Sep 28, 2009 at 2:46 PM, Michael Burk <burkml AT gmail DOT com> wrote:
> Hi Dustin,
>
> Great analysis; thanks for sharing the details of the problem.
>
>
> On Mon, Sep 28, 2009 at 12:11 PM, Dustin J. Mitchell <dustin AT zmanda DOT
> com> wrote:
>> while putting together the patch
>> (attached),
>
> I patched the 0928 snapshot, but it didn't compile:
>
> util.c: In function `openbsd_fd_inform':
> util.c:1290: error: `DATA_FD_OFFSET' undeclared (first use in this
> function)
> util.c:1290: error: (Each undeclared identifier is reported only once
> util.c:1290: error: for each function it appears in.)
> util.c:1290: error: `DATA_FD_COUNT' undeclared (first use in this
> function)
>
> I tried adding amandad.h to the file, but that didn't help. Did I
> patch the wrong version?
>
> Thanks
> Michael
>
|