]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Added link_dest_used unsigned short to struct hlink and made the
authorWayne Davison <wayned@samba.org>
Mon, 9 Oct 2006 02:57:04 +0000 (02:57 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 9 Oct 2006 02:57:04 +0000 (02:57 +0000)
other values explicitly 32-bit so that the total size can't be
larger than the other struct we're in a union with.

rsync.h

diff --git a/rsync.h b/rsync.h
index 26379eb8d03140bb05b700b38cdfd8f7b1467f80..de9de8e70c1be03ea0594ccce33eb7c80416ae24 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -498,8 +498,9 @@ struct idev {
 #define HL_SKIP                1
 
 struct hlink {
-       int next;
-       int hlindex;
+       int32 next;
+       int32 hlindex;
+       unsigned short link_dest_used;
 };
 
 #define F_DEV  link_u.idev->dev