Wayne Davison
d2d6ad481a
Allow --max-alloc=0 for unlimited.
2020-07-07 11:56:23 -07:00
Wayne Davison
af57b55bdb
Some misc cleanup
...
Remove some extraneous vars, update some years, add an rrsync opt, &
ensure some less options are set right when running release-rsync.
2020-06-27 21:19:52 -07:00
Wayne Davison
11eb67eec9
Some memory allocation improvements
...
- All the memory-allocation macros now auto-check for failure and exit
with a failure message that incudes the caller's file and lineno
info. This includes strdup().
- Added the `--max-alloc=SIZE` option to be able to override the memory
allocator's sanity-check limit. It defaults to 1G (as before).
Fixes bugzilla bug 12769.
2020-06-25 20:54:21 -07:00
Wayne Davison
df0ed76a76
Add stub for canonical_checksum().
2020-05-28 12:46:46 -07:00
Wayne Davison
f14adfd75e
Some var cleanup; move test-util vars into t_stub.c.
2020-04-26 14:54:43 -07:00
Wayne Davison
d218be3482
Update a few more copyright years.
2020-04-25 23:34:16 -07:00
Wayne Davison
87257f869c
Change --set-notime to --open-noatime.
2020-04-23 14:32:26 -07:00
Wayne Davison
b936741032
Added --atimes and --set-noatime options.
2020-04-23 13:24:15 -07:00
Wayne Davison
3e2e4b5a33
Tweak the copyright year.
2019-03-16 09:15:49 -07:00
Wayne Davison
473108ae6e
Tweak copyright date.
2018-01-14 19:55:07 -08:00
Wayne Davison
416e719bea
More archaic-checksum improvements. This makes the len vars clearer
...
and ensures that only the flist code gets the 2-byte digest len.
2017-11-07 14:01:13 -08:00
Wayne Davison
f3873b3d88
Support --sparse combined with --preallocate or --inplace.
...
The new code tries to punch holes in the destination file using newer
Linux fallocate features. It also supports a --whole-file + --sparse +
--inplace copy on any filesystem by truncating the destination file.
2016-10-10 11:53:03 -07:00
Wayne Davison
a5a7d3a297
Add --checksum-choice option to choose the checksum algorithms.
2016-05-01 17:06:54 -07:00
Wayne Davison
453914e35b
Update the copyright year.
2015-08-08 12:47:03 -07:00
Wayne Davison
dfa5b49110
Bump the year to 2014.
2014-01-26 09:29:15 -08:00
Wayne Davison
0488a14b99
Fix "make check".
2013-06-11 18:06:53 -07:00
Wayne Davison
fc2d6fabe7
Set number_separator the first time it gets used.
2013-06-11 13:28:45 -07:00
Wayne Davison
d6df07392e
Fix module-name splitting with --protect-args.
...
Fixes bug 8838.
2013-06-02 15:54:48 -07:00
Wayne Davison
76340ea44c
Fix weird error in test programs on SunOS.
2013-01-19 12:07:38 -08:00
Wayne Davison
7e1a9c4d79
Update copyright year.
2013-01-19 11:05:53 -08:00
Wayne Davison
28b519c93b
Applying the preallocate patch.
2011-04-04 21:57:57 -07:00
Wayne Davison
2624e005e2
Add --omit-link-times and use CAN_SET_SYMLINK_TIMES less.
2010-08-26 11:12:58 -07:00
Matt McCutchen
9a54a640f7
Don't set the umask to 0 any more: it's ugly and pointless.
2010-04-24 09:28:58 -07:00
Wayne Davison
7b6c5c7794
Use typedefs for the filter structures.
2009-05-23 09:07:43 -07:00
Wayne Davison
3696674bc6
More backup improvements:
...
- Changed get_backup_name() to verify the backup path, and make any
missing directories. This avoids accidental use of a symlink as a dir
in a backup path, and gets rid of any other non-dirs that are in the
way. It also avoids the need for various operations to retry after
calling make_bak_dir(), simplifying several pices of code.
- Changed create_directory_path() to make_path(), giving it flags that
lets the caller decide if it should skip a leading slash or drop the
trailing filename.
- Mention when we create the backup directory, so the user is not caught
unaware when rsync uses a directory they didn't expect.
- Got rid of some dir-moving backup code that is not used.
- Added a little more backup-debug output.
2009-04-11 11:51:07 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
adc2476fa2
Output numbers in 3-digit groups by default (e.g. 1,234,567).
...
Also improved the human-readable output functions, including
adding the ability to output negative numbers.
2008-09-01 13:27:11 -07:00
Wayne Davison
e9489cd6cb
Fixed several issues with preserving xattrs when using --backup.
2008-05-17 09:35:46 -07:00
Wayne Davison
1df02d13d3
Don't send daemon-config filter-action messages back to the user.
2008-03-24 10:14:59 -07:00
Wayne Davison
819bfe4599
Changed the name of the server_filter_list to be
...
daemon_filter_list, for improved clarity.
2008-03-20 10:42:43 -07:00
Wayne Davison
ffe8feb265
Added "const" to a couple more char * args.
2008-03-16 19:50:35 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
5a47354882
Added a stub function for make_bak_dir().
2007-09-23 21:05:15 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
7c73536c25
Use module_dir instead of lp_path().
2007-07-02 22:06:48 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
ea0ea357f4
Provide the who_am_i() function.
2006-09-24 03:11:41 +00:00
Wayne Davison
70c81b0c07
Fixed the indentation on a few lines.
2006-07-03 22:30:13 +00:00
Wayne Davison
93977bca10
Added module_dirlen now that utils.o needs it.
2006-05-03 00:49:31 +00:00
Wayne Davison
e7c67065c0
Updated the FSF's address to an even newer one.
2006-04-25 23:51:12 +00:00
Wayne Davison
0f78b81511
- Updated the address for the FSF in the opening comment.
...
- Standardized the format of the opening comment, including adding a
brief description of what's in the file for those that lacked it.
- Added some missing copyright lines.
- Some minor whitespace tweaks (in a few of the files).
2006-04-25 20:23:34 +00:00
Wayne Davison
baed67efc4
Need to define an orig_umask value now that utils.c uses it.
2006-02-24 01:56:29 +00:00
Wayne Davison
4a70af6f81
Added the human_readable variable (for linking with util.o).
2005-11-12 19:53:20 +00:00
Wayne Davison
d649b78920
Added relative_paths extern.
2005-10-15 19:11:36 +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
a7260c4037
Added the new --partial-dir option.
2004-07-29 16:06:38 +00:00
Wayne Davison
a3c8b36863
Added rsyserr().
2004-05-15 19:31:05 +00:00
Wayne Davison
a7ceddae34
Changed check_exclude()'s prototype.
2004-04-22 09:58:11 +00:00
Wayne Davison
bf6dcd1713
Updated the exclude-list code to handle the new linked-list
...
structure format.
2004-04-14 23:33:34 +00:00