Re: Small patch for librsync-0.9.2

2001-03-14 Thread Martin Pool

On 12 Mar 2001, Jos Backus [EMAIL PROTECTED] wrote:
 This is needed to get it to build on FreeBSD. There are still a number of
 warnings after this patch which I haven't investigated closely
 (yet).

Thankyou.  This is committed and will be in 0.9.3.

If you get a chance to run it, I would be very interested to hear
about the results of `make check' on FreeBSD.

-- 
Martin Pool




Re: Small patch for librsync-0.9.2

2001-03-14 Thread Jos Backus

On Thu, Mar 15, 2001 at 11:50:25AM +1100, Martin Pool wrote:
 Thankyou.  This is committed and will be in 0.9.3.

Thanks!

 If you get a chance to run it, I would be very interested to hear
 about the results of `make check' on FreeBSD.

==
All 5 tests passed
==

-- 
Jos Backus _/  _/_/_/"Modularity is not a hack."
  _/  _/   _/-- D. J. Bernstein
 _/  _/_/_/ 
_/  _/  _/_/
[EMAIL PROTECTED] _/_/   _/_/_/use Std::Disclaimer;




Small patch for librsync-0.9.2

2001-03-12 Thread Jos Backus

This is needed to get it to build on FreeBSD. There are still a number of
warnings after this patch which I haven't investigated closely (yet).

--- librsync-0.9.2.dist/rsync.h Sun Mar 11 23:25:06 2001
+++ librsync-0.9.2/rsync.h  Mon Mar 12 23:48:50 2001
@@ -39,6 +39,8 @@
  * See \ref intro for an introduction to use of this library.
  */
 
+#include sys/types.h
+
 extern char const rs_librsync_version[];
 extern char const rs_licence_string[];
 
@@ -362,7 +364,7 @@
 
 rs_result rs_loadsig_file(FILE *sig_file, rs_signature_t **sumset);
 
-rs_result rs_file_copy_cb(void *arg, rs_long_t, size_t *len, void **buf);
+rs_result rs_file_copy_cb(void *arg, off_t pos, size_t *len, void **buf);
 
 rs_result rs_delta_file(rs_signature_t *, FILE *new_file, FILE *delta_file, 
rs_stats_t *);
 
Thanks,
-- 
Jos Backus _/  _/_/_/"Modularity is not a hack."
  _/  _/   _/-- D. J. Bernstein
 _/  _/_/_/ 
_/  _/  _/_/
[EMAIL PROTECTED] _/_/   _/_/_/use Std::Disclaimer;