Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
031fa9a
)
Added a sanity check for the SIZEOF_INT64 define.
author
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 06:51:44 +0000
(06:51 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 06:51:44 +0000
(06:51 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
5ab7b7f
..
cbf7a52
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-214,6
+214,11
@@
static void print_rsync_version(enum logcode f)
#if SIZEOF_INT64 < 8
rprintf(f, "WARNING: no 64-bit integers on this platform!\n");
#endif
+ if (sizeof (int64) != SIZEOF_INT64) {
+ rprintf(f,
+ "WARNING: size mismatch in SIZEOF_INT64 define (%d != %d)\n",
+ (int) SIZEOF_INT64, (int) sizeof (int64));
+ }
rprintf(f,
"\n"