search for: toklen

Displaying 8 results from an estimated 8 matches for "toklen".

Did you mean: token
2003 Jun 27
1
bug? -z option and large compressed data
...in rsync protocol data stream (code 12) at token.c(288) "install-disk2.iso" is a CD-ROM image of "Turbo Linux Installer" and this CD-ROM includes many gzip/bzip2 compressed datas(RPMs). Let's looked at token.c. 280 tx_strm.next_in = (Bytef *) map_ptr(buf, offset, toklen); 281 tx_strm.avail_in = toklen; 282 tx_strm.next_out = (Bytef *) obuf; 283 tx_strm.avail_out = MAX_DATA_COUNT; 284 r = deflate(&tx_strm, Z_INSERT_ONLY); 285 if (r != Z_OK || tx_strm.avail_in != 0) { 286 rprintf(FERROR, "deflate...
2002 Aug 05
5
[patch] read-devices
...t prot, int flags, int fd, OFF_T offset); char *d_name(struct dirent *di); int main (int argc, char *argv[]); void set_compression(char *fname); -void send_token(int f,int token,struct map_struct *buf,OFF_T offset, +int send_token(int f,int token,struct map_struct *buf,OFF_T offset, int n,int toklen); int recv_token(int f,char **data); void see_token(char *data, int toklen); int main(int argc, char **argv); diff -r -u4 rsync-2.5.5/receiver.c rsync-patched/receiver.c --- rsync-2.5.5/receiver.c Wed Feb 13 21:42:20 2002 +++ rsync-patched/receiver.c Mon Aug 5 10:05:15 2002 @@ -35,8 +35,9 @@ e...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...O); +} +#endif + + /** * Transmit a verbatim buffer of length @p n followed by a token. * If token == -1 then we have reached EOF @@ -632,7 +872,9 @@ static void see_deflate_token(char *buf, int32 len) void send_token(int f, int32 token, struct map_struct *buf, OFF_T offset, int32 n, int32 toklen) { - if (!do_compression) + if (do_compression_zstd) + send_zstd_token(f, token, buf, offset, n); + else if (!do_compression) simple_send_token(f, token, buf, offset, n); else send_deflated_token(f, token, buf, offset, n, toklen); @@ -648,7 +890,9 @@ int32 recv_token(int f, char **data)...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2004 Dec 07
1
rsync hangs when tunneling... help!
...io.c:981 #3 0x8058551 in write_buf (f=3, buf=0x92b8000 "...", len=32768) at io.c:1045 #4 0x8058ff8 in simple_send_token (f=3, token=-2, buf=0x807d0c0, offset=3833856, n=32768) at token.c:104 #5 0x80598c0 in send_token (f=3, token=-2, buf=0x807d0c0, offset=3833856, n=32768, toklen=0) at token.c:472 #6 0x805108c in matched (f=3, s=0x807b020, buf=0x807d0c0, offset=3866624, i=-2) at match.c:114 #7 0x805196e in match_sums (f=3, s=0x807b020, buf=0x807d0c0, len=12530436) at match.c:353 #8 0x804d0fd in send_files (flist=0x807b120, f_out=3, f_in=3) at sender.c:240 #9 0x8...
2009 Jan 15
2
Problem syncing large dataset
Hi, When using rsync-3.0.2 through 3.0.5, I get this error on a large dataset syncing from machine-a to machine-b: $ /bin/rsync -aHSz /local/. machine-b:/local/. invalid len passed to map_ptr: -1737287498 rsync error: error in file IO (code 11) at fileio.c(188) [sender=3.0.5] This happens no matter which side initiates the connection, so this fails in the same way: $ /bin/rsync -aHSz
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...; char *d_name(struct dirent *di); -int main(int argc, char **argv); int main (int argc, char *argv[]); void set_compression(char *fname); void send_token(int f,int token,struct map_struct *buf,OFF_T offset, @@ -232,6 +232,7 @@ int recv_token(int f,char **data); void see_token(char *data, int toklen); int main(int argc, char **argv); +int main(int argc, char **argv); void add_uid(uid_t uid); void add_gid(gid_t gid); void send_uid_list(int f); diff -aur rsync-2.5.6/receiver.c rsync-arh/receiver.c --- rsync-2.5.6/receiver.c Mon Jan 20 23:32:17 2003 +++ rsync-arh/receiver.c Fri Oct 17 09:57:4...
2004 Jul 14
12
HP-UX 11i and largefiles on rsync 2.6.2
Hello, I'm running HP-UX 11i on an rp74xx. It's 64-bit. C compiler is as follows: B3901BA B.11.11.03 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800) B3913DB C.03.30.02 HP aC++ Compiler (S800) /usr/bin/cc: LINT B.11.11.02 CXREF B.11.11.02 HP92453-01 B.11.11.02 HP C Compiler $ Sep 8 2000 23:13:51 $ I have successfully compiled rsync 2.6.2 and it