Wayne Davison
58fef0ac38
Changed direct call to fstat() into a call to do_fstat().
2005-01-28 20:41:36 +00:00
Wayne Davison
25e1181466
Use new USE_STAT64_FUNCS define.
2005-01-28 20:33:55 +00:00
Wayne Davison
5b5f7e3b59
- Use off_t if SIZEOF_OFF_T is 8.
...
- Define USE_STAT64_FUNCS if we defined STRUCT_STAT as
"struct stat64".
2005-01-28 20:32:47 +00:00
Wayne Davison
dc3afaf6aa
Changed "char" to "uchar" in delayed_bits's new_array() call.
2005-01-28 20:24:23 +00:00
Wayne Davison
1164f67827
Make use of new HAVE_STRUCT_STAT64 define.
2005-01-28 20:15:08 +00:00
Wayne Davison
c83a2c8ec5
Added a check for "struct stat64".
2005-01-28 20:15:06 +00:00
Wayne Davison
43d0f38b24
Do a better job defining an int32. Also define SIZEOF_INT32
...
instead of the (unused) LARGE_INT32 variable.
2005-01-28 19:03:16 +00:00
Wayne Davison
e95538ca2c
- Changed the main core of system include files to use the same "#if"
...
idioms that configure uses.
- Use "#if" (not "#ifdef") for configure-defined macros.
- Use "#if !" (not "#ifndef") for configure-defined macros.
2005-01-28 18:50:54 +00:00
Wayne Davison
25ff04417e
Use "#if" (not "#ifdef") for configure-defined macros.
2005-01-28 18:50:49 +00:00
Wayne Davison
63ecee4d1a
Made log_open() static and made it die with an error if the
...
log-file can't be opened.
2005-01-28 17:42:21 +00:00
Wayne Davison
4c8f6b6a06
No need to call log_open() in start_accept_loop() because
...
rsync_module() calls log_init() before it gives up its privileges.
2005-01-28 17:33:57 +00:00
Wayne Davison
2161111900
Document the "max verbosity" setting.
2005-01-28 17:11:48 +00:00
Wayne Davison
24b0922b0e
Document the --verbose (-v) option for the daemon.
2005-01-28 17:10:58 +00:00
Wayne Davison
186387301f
- Moved read_only variable here from options.c
...
- Set read_only to 1 if the module is read-only.
- Make sure that the verbose level is 0 before we parse the client's
options.
2005-01-28 17:10:16 +00:00
Wayne Davison
1bd9db74ba
- Added --verbose option parsing to the daemon options.
...
- Moved read_only into clientserver.c.
2005-01-28 17:07:54 +00:00
Wayne Davison
df6933406f
Got rid of unused mmap section.
2005-01-28 17:06:41 +00:00
Wayne Davison
d679c8390a
Changed HAVE_OFF64_T to SIZEOF_OFF64_T.
2005-01-28 16:27:02 +00:00
Wayne Davison
d4daa7b68c
Changed HAVE_OFF64_T to SIZEOF_OFF64_T.
2005-01-28 16:21:37 +00:00
Wayne Davison
44d98d6166
Improved the option summaries.
2005-01-28 09:55:36 +00:00
Wayne Davison
b3708acf27
Improved the option-descriptions in the --help text.
2005-01-28 09:55:18 +00:00
Wayne Davison
2c0fa6c5df
More --delete-before improvements.
2005-01-28 08:01:33 +00:00
Wayne Davison
57f74bd1c2
One minor tweak to the --delete-before option-passing code.
2005-01-28 07:50:00 +00:00
Wayne Davison
598c409e63
Document --delete-before.
2005-01-28 07:39:59 +00:00
Wayne Davison
c6eb7fad68
Added back support for the --delete-before option so that future
...
verions of rsync can more easily change the default that --delete
implies and still support explicit --delete-before functionality
when interacting with older versions.
2005-01-28 07:39:09 +00:00
Wayne Davison
c561edaa72
Added a sanity check for the SIZEOF_INT64 define.
2005-01-28 06:51:44 +00:00
Wayne Davison
031fa9ad4d
Use the new SIZEOF_INT64 define instead of INT64_IS_OFF_T.
2005-01-28 06:46:33 +00:00
Wayne Davison
d622d4bf30
- Switched the int64 code over to using the improved SIZEOF_*
...
macros.
- Define SIZEOF_INT64 to a value that is useable at compile time.
- Got rid of INT64_IS_OFF_T.
2005-01-28 06:45:16 +00:00
Wayne Davison
e32db5c9aa
Switched the checks for "long long" and "off64_t" to use the
...
AC_CHECK_SIZEOF() macro since it now fully supports cross-
compiling.
2005-01-28 06:43:48 +00:00
Wayne Davison
4a6c209a13
Use SIGNED_CHAR_OK instead of HAVE_UNSIGNED_CHAR.
2005-01-28 02:01:18 +00:00
Wayne Davison
0d2aa5d9d7
- Made some of the tests work better when cross-compiling.
...
- Added descriptions for all config.h variables that had none.
- Changed HAVE_UNSIGNED_CHAR to SIGNED_CHAR_OK.
- Got rid of (the unused) HAVE_SHORT_INO_T.
- Changed version to 2.6.4cvs (long overdue).
2005-01-28 02:00:40 +00:00
Wayne Davison
e30b1fb8fd
Added a few more details of changes since 2.6.3.
2005-01-28 01:56:50 +00:00
Wayne Davison
da1b6eeaf2
Mention the latest changes plus a few missed items.
2005-01-28 00:01:54 +00:00
Wayne Davison
01b835c237
Docment the new --delay-updates option.
2005-01-27 22:47:23 +00:00
Wayne Davison
48e1c8c69d
Implement the new --delay-updates option.
2005-01-27 22:46:36 +00:00
Wayne Davison
f06e708282
Added the new --delay-updates option.
2005-01-27 22:46:14 +00:00
Wayne Davison
f0f7e760ae
- Output the new flist time stats (when available).
...
- For protocol 29 and above, send the flist time stats to the
client side (as needed).
2005-01-27 22:23:30 +00:00
Wayne Davison
31b4d25d10
Set the new stats.flist_buildtime and stats.flist_xfertime values.
2005-01-27 22:21:45 +00:00
Wayne Davison
d41988232e
- Added a caveat to the definition of the int64 type.
...
- Added two time values to the stats struct.
2005-01-27 21:55:11 +00:00
Wayne Davison
880570f228
Added a missing newline to an error message.
2005-01-27 21:45:32 +00:00
Wayne Davison
72a90c750a
Bumped the copyright year to 2005.
2005-01-27 21:42:56 +00:00
Wayne Davison
e1988bc744
Added .rsync-filter.
2005-01-25 18:16:34 +00:00
Wayne Davison
d6a3e37b83
If rsync is put in the background, output fewer progress-report
...
lines.
2005-01-25 17:16:13 +00:00
Wayne Davison
8261047b1e
- Use the "--filter=._-" option instead of --exclude-from=- if the
...
protocol being saved is >= 29.
- Call the new get_rule_prefix() function to figure out the right
rule prefix.
- Strip out the --filter and -f options from the cached command-line.
2005-01-25 12:13:53 +00:00
Wayne Davison
417b59997f
- Moved the code that turns rule flags into chars into a new
...
function called get_rule_prefix().
- Don't pass the per-dir .cvsignore rule from -C for protocols < 29.
2005-01-25 12:10:31 +00:00
Wayne Davison
4366d2c428
In delete_files(), handle new DEL_NO_RECURSE flag (and use
...
renamed DEL_FORCE_RECURSE flag.
2005-01-25 12:07:13 +00:00
Wayne Davison
217cc3b045
- The call to delete_file() needs DEL_NO_RECURSE when handling
...
delete_before or delete_after or --dry-run will report too
many deletions.
- Changed DEL_RECURSE to DEL_FORCE_RECURSE.
2005-01-25 12:05:20 +00:00
Wayne Davison
757e0a5445
Added DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE.
2005-01-25 12:02:08 +00:00
Wayne Davison
ddf6410130
Needed to call add_cvs_excludes() from one more code path.
2005-01-25 11:55:03 +00:00
Wayne Davison
7842418b7b
Renamed several exclude-related functions/variables using new
...
filter terminology.
2005-01-25 10:39:14 +00:00
Wayne Davison
9624b86426
Mention the latest new options.
2005-01-25 04:00:31 +00:00