Displaying 7 results from an estimated 7 matches for "z_insert_only".
2006 Oct 12
1
clarifiaction about rync zlib.
i would like a more detailed answer to a question.
{Z_INSERT_ONLY is used to update  history}
How is this feature used in rsync?
Other than transfering less data, what other aplications might this feature have?: https://webnetmail.port.ac.uk/w?aB.DDM.EK.UQJ-RugE.DCHEw.CbacuRQ.K
2009 Nov 21
8
DO NOT REPLY [Bug 6916] New: Avoid bundling a modified zlib
https://bugzilla.samba.org/show_bug.cgi?id=6916
           Summary: Avoid bundling a modified zlib
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: matt at mattmccutchen.net
        
2014 Jun 14
1
rsync compilation may find the system zlib before the included one
...on OS X with CFLAGS=-I/opt/local/include.
The consequence of this is that rsync fails to build:
/usr/bin/clang -I. -I. -pipe -Os -I/opt/local/include -arch x86_64
-DHAVE_CONFIG_H -Wall -W -I./zlib -I/opt/local/include -c token.c -o
token.o
token.c:420:26: error: use of undeclared identifier 'Z_INSERT_ONLY'
                        r = deflate(&tx_strm, Z_INSERT_ONLY);
                                              ^
1 error generated.
The problem is that Z_INSERT_ONLY is only present in the built-in
zlib, but rsync only sees the external zlib due to
"-I/opt/local/include" coming in...
2003 Jun 27
1
bug? -z option and large compressed data
...mpressed 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 on token returned %d (%d bytes left)\n",
    287                      r, tx_strm.avail_in);
    288              exit_cleanup(RERR_STREAMIO);
    289      }
MAX_DATA_COUNT is 16383 and...
2009 Dec 11
4
rsync hangs during transfer
I am running the following rsync command to synchronize directories
between two servers: 
rsync -axvz --delete-after -e ssh /SRCDIR/ blabla at DEST:/DESTDIR
The transfer starts and after a short while it appears to hang after
some files have been transferred. The process establishes connection on
both sides so I did an strace from the remote machine (using the
rsync-debug script as described in
2014 Jan 12
14
[Bug 10372] New: rsync 3.10 error in protocol data stream while rsync 3.0.9 runs through
https://bugzilla.samba.org/show_bug.cgi?id=10372
           Summary: rsync 3.10 error in protocol data stream while rsync
                    3.0.9 runs through
           Product: rsync
           Version: 3.1.0
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at
2002 Aug 05
5
[patch] read-devices
...offset, toklen);
-		tx_strm.avail_in = toklen;
+		map_ptr(buf, offset, toklen);
+		data_read += buf->m_len;
+		tx_strm.next_in = (Bytef *) buf->m_len;
+		tx_strm.avail_in = buf->m_len;
 		tx_strm.next_out = (Bytef *) obuf;
 		tx_strm.avail_out = MAX_DATA_COUNT;
 		r = deflate(&tx_strm, Z_INSERT_ONLY);
 		if (r != Z_OK || tx_strm.avail_in != 0) {
@@ -287,8 +299,9 @@
 				r, tx_strm.avail_in);
 			exit_cleanup(RERR_STREAMIO);
 		}
 	}
+	return data_read;
 }
 
 
 /* tells us what the receiver is in the middle of doing */
@@ -477,16 +490,17 @@
 /*
  * transmit a verbatim buffer of length n followe...