search for: fdb_delta_open

Displaying 3 results from an estimated 3 matches for "fdb_delta_open".

2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
...if ((*flist_entry == flist_count - 1) && (i == s->count - 1)) { @@ -486,7 +487,7 @@ } -void write_batch_delta_file(char *buff, int bytes_to_write) +void write_batch_delta_file(const void *buff, int bytes_to_write) { static int fdb_delta_open = 1; @@ -516,13 +517,13 @@ exit_cleanup(1); } } -void close_batch_delta_file() +void close_batch_delta_file(void) { close(fdb_delta); } -int read_batch_delta_file(char *buff, int len) +int read_batch_delta_file(void *buff, int len) { static int...
2002 Feb 11
0
RSYNC 2.5.2 type mismatches in batch.c
...sizeof(uint32)); read_batch_csums_file(file_sum2, csum_length); @@ -498,7 +499,7 @@ } -void write_batch_delta_file(char *buff, int bytes_to_write) +void write_batch_delta_file(const void *buff, int bytes_to_write) { static int fdb_delta_open = 1; @@ -528,13 +529,13 @@ exit_cleanup(1); } } -void close_batch_delta_file() +void close_batch_delta_file(void) { close(fdb_delta); } -int read_batch_delta_file(char *buff, int len) +int read_batch_delta_file(void *buff, int len) { static int...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...(memcmp - (s->sums[i].sum2, file_sum2, - csum_length) != 0)) { + (memcmp(s->sums[i].sum2, file_sum2, csum_length) + != 0)) { *checksums_match = 0; } } /* end for */ } - } void write_batch_delta_file(char *buff, int bytes_to_write) { static int fdb_delta_open = 1; + char filename[MAXPATHLEN]; if (fdb_delta_open) { /* Set up file extension */ - strcat(rsync_delta_file, batch_file_ext); + strlcpy(filename, batch_prefix, sizeof(filename)); + strlcat(filename, rsync_delta_file, sizeof(filename)); - /* Open batch delta file for writing; create i...