Fix alignment issue on 64-bit. Solution from Steve Ortiz.
[rsync/rsync-patches.git] / soften-links.diff
index d8f9d1d..42547cb 100644 (file)
@@ -10,9 +10,11 @@ To use this patch, run these commands for a successful build:
     ./configure                           (optional if already run)
     make
 
---- old/syscall.c
-+++ new/syscall.c
-@@ -59,9 +59,14 @@ int do_symlink(const char *fname1, const
+based-on: a01e3b490eb36ccf9e704840e1b6683dab867550
+diff --git a/syscall.c b/syscall.c
+--- a/syscall.c
++++ b/syscall.c
+@@ -106,9 +106,14 @@ ssize_t do_readlink(const char *path, char *buf, size_t bufsiz)
  #ifdef HAVE_LINK
  int do_link(const char *fname1, const char *fname2)
  {