search for: int_zero

Displaying 7 results from an estimated 7 matches for "int_zero".

Did you mean: init_zero
2002 Mar 12
2
Compile error
Hi, I tried to compile rsync2.5.3 on Solaris5.7, and I still got the same errors as Solaris5.8, can you please help me to look at the problem? I got error messages: Configure was run successfully, then I ran make, I got: "batch.c", line 408: operands have incompatible types: pointer to unsigned long ":" pointer to unsigned int cc: acomp failed for batch.c ***
2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
...} -void close_batch_csums_file() +void close_batch_csums_file(void) { close(fdb); @@ -394,12 +395,12 @@ /* Write csum info to batch file */ - write_batch_csums_file((char *) flist_entry, sizeof(int)); - write_batch_csums_file((char *) (s ? &s->count : &int_zero), + write_batch_csums_file( flist_entry, sizeof(int)); + write_batch_csums_file( (s ? &s->count : &int_zero), sizeof(int)); if (s) { for (i = 0; i < s->count; i++) { - write_batch_csums_file...
2002 Mar 22
2
Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc
....c -o socket.o cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c fileio.c -o fileio.o cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c batch.c -o batch.o cc: Error: batch.c, line 408: In this statement, a common type could not be determined for the 2nd and 3rd operands ("&s->count" and "&int_zero") of a conditional operator. (badcondit) write_batch_csums_file(s ? &s->count : &int_zero, sizeof(int)); -------------------------------^ *** Exit 1 Stop. [root@hyperion: rsync-2.5.4]# Thank you, Bob Eckert - Principal Analyst eckert@indiana.ed...
2002 Feb 22
1
Error building CVS on Tru64 UNIX
...the following error with the Compaq C compiler on Tru64 UNIX: cc -I. -I. -O2 -std1 -DHAVE_CONFIG_H -I./popt -c batch.c -o batch.o cc: Error: batch.c, line 408: In this statement, a common type could not be determined for the 2nd and 3rd operands ("&s->count" and "&int_zero") of a conditional operator. (badcondit) write_batch_csums_file(s ? &s->count : &int_zero, sizeof(int)); -------------------------------^ gmake: *** [batch.o] Error 1 If I case &s->count to (unsigned int *), then it compiles. -- albert chin (china@thewrittenw...
2002 Mar 22
0
Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc on AlphaServer 1000 5/300
...> Anyway here is the sequence that was encountered: > cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c batch.c -o batch.o > cc: Error: batch.c, line 408: In this statement, a common type could > not be determined for the 2nd and 3rd operands ("&s->count" and > "&int_zero") of a conditional operator. (badcondit) > write_batch_csums_file(s ? &s->count : &int_zero, > sizeof(int)); -------------------------------^ > *** Exit 1 Line 406 says: /* FIXME: This will break if s->count is ever not exactly an int. */ s->count is a...
2002 Feb 20
8
map_ptr warning
I am trying to finalize the use of rsync for updatiung a new nfs server before we take the old one offline. I keep getting the following warning during the rsync process: Warning: unexpected rad size of 0 in map_ptr Any ideas where this comes from and how to make it go away? I am using rsync 2.5.2 on Solaris 8 to pull data from rsync 2.5.2 on Solaris 7. Bob roconnor@vectorpartners.com
2002 Feb 07
1
Latest version of the batch mode cleanup patch
..._csum_info(int *flist_entry, int flist_count, @@ -405,10 +405,7 @@ /* FIXME: This will break if s->count is ever not exactly an int. */ write_batch_csums_file(flist_entry, sizeof(int)); - if (s) - write_batch_csums_file(&s->count, sizeof(int)); - else - write_batch_csums_file(&int_zero, sizeof (int)); + write_batch_csums_file(s ? &s->count : &int_zero, sizeof(int)); if (s) { for (i = 0; i < s->count; i++) { @@ -417,8 +414,7 @@ && (i == s->count - 1)) { fdb_close = 1; } - write_batch_csums_file(s->sums[i].sum2, -...