Wayne Davison
f7d7fb381d
Improved the format of the debug output for mknod().
2006-12-07 02:37:42 +00:00
Wayne Davison
3481bdf493
Mention waitpid() fix (which helps pre-xfer exec).
2006-12-06 17:27:47 +00:00
Wayne Davison
d365e22967
The wait_process() call now handles EINTR.
2006-12-06 17:21:59 +00:00
Wayne Davison
d02363609a
If the pre-xfer exec failed with -1, output the strerror()
...
from the waitpid() call.
2006-12-06 16:56:19 +00:00
Wayne Davison
1e1ca25343
#ifdef calls to hard-link functions.
2006-12-06 01:32:17 +00:00
Wayne Davison
a2ebbffca7
- Make some char* pointers const.
...
- Tweaked a couple variable names.
- Changed the #ifdefs to not define any hard-link functions
when hard-linking is disabled.
2006-12-06 01:26:11 +00:00
Wayne Davison
0395130c06
Changed i -> ndx in several variables.
2006-12-06 00:55:33 +00:00
Wayne Davison
b8c167e804
F_SUM() needed to use HLINK_BUMP().
2006-12-06 00:52:34 +00:00
Wayne Davison
17026f2741
Handle the FLAG_LENGTH64 flag in unmake_file().
2006-12-05 17:45:29 +00:00
Wayne Davison
112d728f48
Use the latest F_*() accessors.
2006-12-05 15:59:58 +00:00
Wayne Davison
96293cf991
Saved 9 more bytes per file in a typical transfer by making the length
...
32 bits by default, by removing the basename pointer, and by making the
mode value a unsigned short.
2006-12-05 15:59:53 +00:00
Wayne Davison
f0fbf1d670
Changed flist_extra_ndx into flist_extra_cnt.
2006-12-05 15:59:49 +00:00
Wayne Davison
7a821d518b
Tweaked some externs.
2006-12-05 15:59:46 +00:00
Wayne Davison
663b2857eb
Use new send_msg_int() function.
2006-12-04 02:07:37 +00:00
Wayne Davison
155d9206a4
Added send_msg_int() function.
2006-12-04 02:07:30 +00:00
Wayne Davison
6b2a3d5de6
Moved an extern.
2006-12-03 07:58:12 +00:00
Wayne Davison
82ad07c418
- Typical tranfers now save 12-20 bytes per file because several vars
...
were moved out of file_struct into an optional member-var setup.
- Renamed and reorganized the FLAG_* defines.
- Use NDX_DONE instead of a literal -1 when sending/checking the
end-of-phase index value.
2006-12-03 06:44:16 +00:00
Wayne Davison
d144e43bb3
Restored write_ndx_and_attrs() and made it public.
2006-12-02 16:17:11 +00:00
Wayne Davison
d2aee174e6
Moved write_ndx_and_attrs() to sender.c and made it public.
2006-12-02 16:16:54 +00:00
Wayne Davison
20f0d0f9b9
Moved write_ndx_and_attrs() too.
2006-12-02 16:13:02 +00:00
Wayne Davison
b675ba6f79
Added a couple externs.
2006-12-02 16:11:33 +00:00
Wayne Davison
d1c178dd53
Moved read_item_attrs() from sender.c to rsync.c since the function
...
is used by both the sender and the receiver.
2006-12-02 16:08:59 +00:00
Wayne Davison
d619ff1376
Change the format/order of the capabilities --version outputs.
2006-12-01 18:29:18 +00:00
Wayne Davison
db0f7613e1
Got rid of an incorrect comment.
2006-11-28 19:34:01 +00:00
Wayne Davison
45d8bfe09e
Added some more "const" prefixes to some "char *" vars.
2006-11-28 19:31:41 +00:00
Wayne Davison
d521e1c2a1
- Use write_shortint() to send the 2 bytes in an extended flag.
...
- Improved a comment.
2006-11-24 20:21:13 +00:00
Wayne Davison
4ea4acf17b
- Added checking of SIZEOF_INT64 to the new code in read_longint().
...
- Improved the SIZEOF_INT64 checking code in write_longint().
2006-11-24 18:35:00 +00:00
Wayne Davison
3a993aa4bf
- Changed {read,write}_shortint() to use unsigned short.
...
- Added explicit char-casting to new long-int code.
2006-11-24 17:28:57 +00:00
Wayne Davison
c7871d9892
Document the latest changes.
2006-11-24 08:46:21 +00:00
Wayne Davison
482f48cca9
- Fixed a bug when sending a negative 64-bit number (which may not
...
be needed, but it at least works right now).
- Improved the transmission of 32-bit negative numbers on systems
where the 32-bit type is larger than 32 bits.
- Changed the sending of 64-bit numbers for protocol 30: we send
them in MSB-first order with the number of bytes used in the
transmission encoded into the earliest bits. This lets us save
transmitted bytes for both small and large numbers. The new
method sends from 3 to 9 bytes, the old sent either 4 or 12.
2006-11-24 08:38:44 +00:00
Wayne Davison
36e6594dce
Added some defines for sending variable-sized MSB-first numbers.
2006-11-24 08:22:23 +00:00
Wayne Davison
e17883827b
Silenced a compiler warning.
2006-11-23 04:16:48 +00:00
Wayne Davison
37a4386d2c
Fix a unused-variable compiler warning.
2006-11-23 03:28:58 +00:00
Wayne Davison
fd0a130c14
Document the new --delete-delay option.
2006-11-22 20:52:51 +00:00
Wayne Davison
5e77efaf41
- Implement new --delete-delay option.
...
- Tweaked a variable name in delete_item().
2006-11-22 20:51:03 +00:00
Wayne Davison
b0cacef14b
Added parsing for --delete-delay.
2006-11-22 20:49:23 +00:00
Wayne Davison
b20830b338
Made get_tmpname() non-static.
2006-11-22 20:48:04 +00:00
Wayne Davison
c63625d41a
Switch over to testing --remove-source-files, not *-sent-*.
2006-11-22 16:34:25 +00:00
Wayne Davison
7de7b49f6c
Don't define NORETURN for older gcc versions.
2006-11-21 22:29:33 +00:00
Wayne Davison
d0d0e41fd2
Mention latest changes.
2006-11-21 19:08:59 +00:00
Wayne Davison
2a28dd32fd
The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the
...
other side.
2006-11-21 17:46:54 +00:00
Wayne Davison
65e83e097c
Don't set an "rc" var that we aren't going to use.
2006-11-21 08:37:28 +00:00
Wayne Davison
4f37559232
Avoid a compiler warning about setting "len" without using it.
2006-11-21 08:37:06 +00:00
Wayne Davison
604dbf6d94
Make the file_list stats value an int64.
2006-11-21 08:36:48 +00:00
Wayne Davison
53593085cf
- Use an explicit cast when a value gets stored in a smaller var.
...
- The msgtype var should have been an enum.
2006-11-21 08:36:31 +00:00
Wayne Davison
eb0144d79b
Output the size of the file list using human_num().
2006-11-21 08:36:15 +00:00
Wayne Davison
54b0dfa0f7
Explicitly cast the tag value in read_msg_fd() to an enum.
2006-11-21 08:36:06 +00:00
Wayne Davison
264042760b
Use an explicit cast when a value gets stored in a smaller var.
2006-11-21 08:35:58 +00:00
Wayne Davison
1e999f9f1b
The call to do_chmod() needed to be conditional.
2006-11-21 08:35:22 +00:00
Wayne Davison
f9b66bc464
Fixed a problem with the new iconv const check.
2006-11-20 19:12:35 +00:00