diff options
author | Wayne Davison <wayned@samba.org> | 2009-04-11 11:31:31 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-04-11 11:51:07 -0700 |
commit | 3696674bc62b0c1250027dbeedafdd7ebafdcf8b (patch) | |
tree | ead58ed7615e0ed0a8cdb32678ce3d5ec96b9e98 /t_stub.c | |
parent | 5e2d51ee0675dc39d89c9ec11297a33c12b9181d (diff) | |
download | rsync-3696674bc62b0c1250027dbeedafdd7ebafdcf8b.tar.gz |
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.
Diffstat (limited to 't_stub.c')
-rw-r--r-- | t_stub.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -65,11 +65,6 @@ struct filter_list_struct daemon_filter_list; return 0; } - int make_bak_dir(UNUSED(const char *fullpath)) -{ - return -1; -} - int copy_xattrs(UNUSED(const char *source), UNUSED(const char *dest)) { return -1; |