Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump the year to 2014. | Wayne Davison | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | Wayne Davison | 2013-01-19 | 1 | -1/+1 |
| | |||||
* | May as well use do_mkdir() directly these days. | Wayne Davison | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | Minor restructuring/clarification to get_backup_name. | Matt McCutchen | 2010-04-24 | 1 | -4/+4 |
| | | | | (Tweaked by Wayne to follow his preferred style.) | ||||
* | In "ignoring unsafe symlink" messages, show only the file-list path. | Matt McCutchen | 2010-04-24 | 1 | -2/+2 |
| | | | | | | | | Rsync was showing the full destination path, which was confusing because nothing is created at that path and was especially bogus in combination with the source name of a solo file. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506830 | ||||
* | Handle files that spring up while doing backup path checking. | Wayne Davison | 2010-03-09 | 1 | -15/+37 |
| | |||||
* | More backup improvements: | Wayne Davison | 2009-04-11 | 1 | -155/+112 |
| | | | | | | | | | | | | | | | - 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. | ||||
* | Fix "just in case" unlink. Prefer renaming of normal files | Wayne Davison | 2009-04-11 | 1 | -5/+5 |
| | | | | if hard-linking fails. | ||||
* | Improved link_or_rename() to handle prefer_rename better. | Wayne Davison | 2009-04-10 | 1 | -17/+12 |
| | |||||
* | Fixed an ACL/xattr corruption issue where the --backup option could cause | Wayne Davison | 2009-04-10 | 1 | -4/+28 |
| | | | | rsync to associate the wrong ACL/xattr information with received files. | ||||
* | Make the backup code call unsafe_symlink() correctly. | Wayne Davison | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Improved the backup code: | Wayne Davison | 2009-01-03 | 1 | -93/+84 |
| | | | | | | | | - Backups do not interfere with an atomic update (when possible). - Backing up a file will remove a directory that is in the way and visa versa. - Unify the backup-dir and non-backup-dir code in backup.c. - Improved the backup tests a little bit. | ||||
* | Update the copyright year. | Wayne Davison | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | Added init_stat_x() to avoid duplication of acl/xattr init code. | Wayne Davison | 2009-01-03 | 1 | -13/+4 |
| | |||||
* | Added the --info=FLAGS an --debug=FLAGS options, which allows | Wayne Davison | 2008-07-13 | 1 | -6/+5 |
| | | | | fine-grained output control (in addition to the coarse -v). | ||||
* | Fixed the backing up of a device or socket. | Wayne Davison | 2008-05-22 | 1 | -4/+2 |
| | |||||
* | Fixed an "else" in the device-making part of keep_backup(). | Wayne Davison | 2008-05-17 | 1 | -2/+5 |
| | |||||
* | Fixed several issues with preserving xattrs when using --backup. | Wayne Davison | 2008-05-17 | 1 | -0/+3 |
| | |||||
* | Preserve the right errno value when trying adjunct functions during | Wayne Davison | 2008-05-17 | 1 | -19/+49 |
| | | | | robust backup, copy, and renaming activities. | ||||
* | Include 2008 in the copyright years. | Wayne Davison | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Changed "statx" to "stat_x" to try to work around a build problem on AIX. | Wayne Davison | 2007-09-23 | 1 | -2/+2 |
| | |||||
* | Changed make_bak_dir() to take a const char *. | Wayne Davison | 2007-09-23 | 1 | -24/+23 |
| | |||||
* | Made make_bak_dir() global. | Wayne Davison | 2007-09-23 | 1 | -1/+1 |
| | |||||
* | Tweaking the license text a bit more. | Wayne Davison | 2007-07-10 | 1 | -2/+3 |
| | |||||
* | Switching to GPL 3. | Wayne Davison | 2007-07-07 | 1 | -3/+2 |
| | |||||
* | Need to call unmake_file() instead of free() on a file_struct. | Wayne Davison | 2007-04-24 | 1 | -1/+1 |
| | |||||
* | Adding the --fake-super option. | Wayne Davison | 2007-04-24 | 1 | -2/+2 |
| | |||||
* | The improved --xattrs option is landing on the trunk. | Wayne Davison | 2007-04-07 | 1 | -2/+23 |
| | |||||
* | The ACL support has arrived! This version has a brand new protocol | Wayne Davison | 2007-03-11 | 1 | -8/+31 |
| | | | | | that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions. | ||||
* | Further modifications to the copyright comment section. | Wayne Davison | 2007-02-04 | 1 | -4/+3 |
| | |||||
* | Use the new device defines: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). | Wayne Davison | 2006-12-07 | 1 | -1/+2 |
| | |||||
* | Tweaked some externs. | Wayne Davison | 2006-12-05 | 1 | -2/+0 |
| | |||||
* | Moved an extern. | Wayne Davison | 2006-12-03 | 1 | -1/+1 |
| | |||||
* | - Typical tranfers now save 12-20 bytes per file because several vars | Wayne Davison | 2006-12-03 | 1 | -16/+21 |
| | | | | | | | 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. | ||||
* | Added some more "const" prefixes to some "char *" vars. | Wayne Davison | 2006-11-28 | 1 | -6/+6 |
| | |||||
* | The call to do_chmod() needed to be conditional. | Wayne Davison | 2006-11-21 | 1 | -0/+2 |
| | |||||
* | Updated the FSF's address to an even newer one. | Wayne Davison | 2006-04-25 | 1 | -3/+3 |
| | |||||
* | - Updated the address for the FSF in the opening comment. | Wayne Davison | 2006-04-25 | 1 | -18/+19 |
| | | | | | | | - 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). | ||||
* | Got rid of unused externs. | Wayne Davison | 2006-02-24 | 1 | -2/+0 |
| | |||||
* | Call mkdir_defmode() instead of do_mkdir(). | Wayne Davison | 2006-02-24 | 1 | -3/+2 |
| | |||||
* | Call robust_rename() with its newly-added arg. | Wayne Davison | 2006-01-30 | 1 | -2/+3 |
| | |||||
* | Call the new name of set_perms(): set_file_attrs(). | Wayne Davison | 2006-01-29 | 1 | -1/+1 |
| | |||||
* | Handle separated devices and special files. | Wayne Davison | 2006-01-26 | 1 | -1/+3 |
| | |||||
* | Call make_file() with one more arg (the base flags). | Wayne Davison | 2006-01-20 | 1 | -1/+1 |
| | |||||
* | Added a new arg to the make_file() call. | Wayne Davison | 2006-01-19 | 1 | -1/+1 |
| | |||||
* | Got rid of calls to (the soon to vanish) safe_fname() function. | Wayne Davison | 2006-01-13 | 1 | -8/+7 |
| | |||||
* | Indent the "failure:" label away from column 0. | Wayne Davison | 2005-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed a problem in the backing up of symlinks and devices: we | Wayne Davison | 2005-06-10 | 1 | -20/+21 |
| | | | | | | | | need to remove any old symlink/device/file to create the backup. Also fixed a couple minor logic errors in the handling of symlinks and devices. NOTE: the code still doesn't handle the changing of a name from a dir to a non-dir or visa versa (which is a very old deficiency in the code). | ||||
* | In make_simple_backup(), if the rename() failed because we tried | Wayne Davison | 2005-02-22 | 1 | -9/+23 |
| | | | | to rename a directory over a file or visa versa, try to handle it. | ||||
* | John E. Malmberg convinced me to standardize on #ifs for defined | Wayne Davison | 2005-02-14 | 1 | -1/+1 |
| | | | | values instead of non-zero. |