README.rsync 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. READ THIS BEFORE TRYING TO DYNAMICALLY LINK RSYNC AND ZLIB!
  2. zlib has been adapted slightly for use in rsync. Please don't bother
  3. the zlib authors with problems related to the use of zlib in rsync as
  4. any bugs are likely to be our fault and not theirs.
  5. Specific changes that have been made to zlib for rsync include:
  6. - add Z_INSERT_ONLY to allow for efficient history updating without
  7. actually emitting any data. This is used to compress the matched
  8. blocks that don't cross the wire, which gives better compression
  9. ratios on the literal data.
  10. - fixed a number of minor compilation issues. (redefinition of MAX and
  11. other such trivial things)
  12. - include rsync.h to ensure that we get a consistent set of includes
  13. for all C code in rsync and to take advantage of autoconf
  14. As a result of the first item, the streams from rsync's version of
  15. zlib are *not compatible* with those produced by the upstream version
  16. of rsync. In other words, if you link rsync against your system's
  17. copy, it will not be able to interoperate with any other version if
  18. the -z option is used. (Sorry. Sometimes standard is better than
  19. better.)
  20. The rsync maintainers hope to fix this problem in the future by either
  21. merging our changes into the upstream version, or backing them out of
  22. rsync in a way that preserves wire compatibility. But in the meantime
  23. this version must be maintained in parallel.