Gitiles
Code Review
Sign In
review.evervolv.com
/
android_external_rsync
/
c4833b024ef5f1b7c1e4f67154667541bf433850
/
backup.c
ba679d5
In make_simple_backup(), if the rename() failed because we tried
by Wayne Davison
· 22 years ago
4f5b075
John E. Malmberg convinced me to standardize on #ifs for defined
by Wayne Davison
· 22 years ago
4875d6b
Adding more calls to safe_fname().
by Wayne Davison
· 22 years ago
7842418
Renamed several exclude-related functions/variables using new
by Wayne Davison
· 22 years ago
018b283
No need for conditional code around do_lstat() anymore.
by Wayne Davison
· 22 years ago
4f4b2f0
The device-handling code is no longer omitted based on HAVE_MKNOD
by Wayne Davison
· 22 years ago
29fe396
Output the same backup-message prefix when verbose > 1 regardless of
by Wayne Davison
· 22 years ago
fb22c27
Got rid of a superfluous static buffer.
by Wayne Davison
· 22 years ago
c94e4af
Moved the code that determines the backup filename into a new function
by Wayne Davison
· 22 years ago
f8c8ef9
When we say we're skipping a non-regular file, actually skip it.
by Wayne Davison
· 22 years ago
3cb22c2
Made a comment better.
by Wayne Davison
· 22 years ago
394bcdb
If we sucessfully renamed a file that has multiple links to it, unlink()
by Wayne Davison
· 22 years ago
9fd62d1
The mkdir code should be using do_stat(), not do_lstat() to copy
by Wayne Davison
· 22 years ago
d62bcc1
Changed rprintf() calls that included strerror() to use rsyserr().
by Wayne Davison
· 22 years ago
5291364
Don't force the modtime on our backup dirs -- the dirs in the
by Wayne Davison
· 22 years ago
377dbd2
Calls to make_bak_dir() should only happen when we fail to create a
by Wayne Davison
· 22 years ago
3d06165
Check robust_rename()'s return value using < 0.
by Wayne Davison
· 23 years ago
9d78ed3
A couple fixes from Shinichi Maruyama.
by Wayne Davison
· 23 years ago
62c9e6b
Moved the EXDEV handling into robust_rename().
by Wayne Davison
· 23 years ago
de0e225
- Revised and optimized the directory-making code.
by Wayne Davison
· 23 years ago
65d6212
Got rid of hard-link message (since I don't think it was ever
by Wayne Davison
· 23 years ago
62125b1
Simplified test for hardlink in make_backup debug message to avoid core-dump.
by J.W. Schultz
· 23 years ago
9935066
Make idev, hlink and file_struct + strings use allocation pools.
by J.W. Schultz
· 23 years ago
f3af206
Changed args to make_file() and free_file().
by Wayne Davison
· 23 years ago
91a1e14
Changed F_HEAD to F_HLINDEX.
by Wayne Davison
· 23 years ago
5d2a707
Use new stringjoin() and pathjoin() functions.
by Wayne Davison
· 23 years ago
aa23c22
Changed the hard-link check.
by Wayne Davison
· 23 years ago
728d092
Use the new union-ified flist_struct values.
by Wayne Davison
· 23 years ago
addf0c4
A few formatting tweaks.
by Wayne Davison
· 23 years ago
ea42541
Improved file-related error messages by using the new full_fname() function.
by Wayne Davison
· 23 years ago
14820f6
Make extra backup dirs mode 0700, not 0755.
by Wayne Davison
· 23 years ago
daa8ce8
Use the new backup_suffix_len and backup_dir_len variables. Got rid
by Wayne Davison
· 23 years ago
47d6a60
Whitespace and indentation fixes.
by J.W. Schultz
· 23 years ago
af1d91c
Call make_file() using the revised arg syntax and new defines.
by Wayne Davison
· 23 years ago
759ac87
Submit enhancement from Michael Zimmerman to allow --suffix to be used
by David Dykstra
· 24 years ago
8950ac0
imported new snprintf.c from samba, got rid of slprintf
by Andrew Tridgell
· 25 years ago
a039749
Print strerror when a system error occurs; add a new function rsyserr
by Martin Pool
· 26 years ago
f2cbf44
added an explicit noexcludes flag to make_file()
by Andrew Tridgell
· 26 years ago
b7c33e3
fixed backup_dir bug introduced with recent memory handling patches
by Andrew Tridgell
· 26 years ago
3d38277
optimisations from Rich Salz <rsalz@caveosystems.com>
by Andrew Tridgell
· 26 years ago
49d6fdc
patch from Jim Delahanty <mail_us@swbell.net> to ensure files are
by Andrew Tridgell
· 27 years ago
378a074
patch from James Delahanty <jimd@gie.com> to make --backup-dir work
by Andrew Tridgell
· 27 years ago
66203a9
added --backup-dir option from Bob Edwards
by Andrew Tridgell
· 27 years ago
3d19b4c
separated out the make_backup code in preparation for some patches
by Andrew Tridgell
· 27 years ago