Gitiles
Code Review
Sign In
review.evervolv.com
/
android_external_rsync
/
a06e2b7cab2f16e77e3403bbe8d756806ece186f
/
util.c
89d2612
Changed safe_fname() to output \### (octal) to escape non-printable
by Wayne Davison
· 22 years ago
af9f56a
dropped the "const" from the return value of safe_fname() because
by Wayne Davison
· 22 years ago
6012eaa
Fixed a problem with the stripping of the .bak/.old/.orig suffixes
by Wayne Davison
· 22 years ago
3e13004
Tweaked the comment on copy_file().
by Wayne Davison
· 22 years ago
bc83274
- Fixed a problem with full_fname() when curr_dir was "/".
by Wayne Davison
· 22 years ago
7325372
Cast char* to uchar* when dereferencing characters for isdigit() and isprint().
by Wayne Davison
· 22 years ago
b485e0c
Fixed/improved the comment before safe_name().
by Wayne Davison
· 22 years ago
e64ae6d
Added find_filename_suffix() and fuzzy_distance().
by Wayne Davison
· 22 years ago
4f5b075
John E. Malmberg convinced me to standardize on #ifs for defined
by Wayne Davison
· 22 years ago
5aa7b20
Have partial_dir_fname() also check if the dir is excluded
by Wayne Davison
· 22 years ago
f8cd88d
- Added more calls to safe_fname().
by Wayne Davison
· 22 years ago
25ff044
Use "#if" (not "#ifdef") for configure-defined macros.
by Wayne Davison
· 22 years ago
7842418
Renamed several exclude-related functions/variables using new
by Wayne Davison
· 22 years ago
15778af
In set_modtime(), the verbose message should be output even if
by Wayne Davison
· 22 years ago
018b283
No need for conditional code around do_lstat() anymore.
by Wayne Davison
· 22 years ago
6566d20
Made full_write() non-static.
by Wayne Davison
· 22 years ago
5886edf
Corrected/enhanced a comment.
by Wayne Davison
· 22 years ago
f55c2df
One last minor tweak to clean_fname().
by Wayne Davison
· 22 years ago
b92693d
- Made clean_flist()'s collapsing of ".." dirs optional by adding
by Wayne Davison
· 22 years ago
8e5f029
One (hopefully) last change to the sanitize_path() code.
by Wayne Davison
· 22 years ago
2d41264
Simplified sanitize_path() logic a little.
by Wayne Davison
· 22 years ago
0219d4d
Improved a comment.
by Wayne Davison
· 22 years ago
1d6b8f9
- Call sanitize_path() with updated args.
by Wayne Davison
· 22 years ago
630f548
Made robust_rename() return a 1 if it had to copy the file.
by Wayne Davison
· 22 years ago
e012b94
Fixed a bug in clean_fname() that could sometimes leave a "dir/.."
by Wayne Davison
· 22 years ago
3104620
Made clean_fname() return the length of the string.
by Wayne Davison
· 22 years ago
ebdd24d
An improved clean_fname() routine that is more efficient and will also
by Wayne Davison
· 22 years ago
84a6379
Merged alloc_sanitize_path() into sanitize_path(), adding an extra arg
by Wayne Davison
· 22 years ago
c405461
Don't allow a --partial-dir setting to overwrite a server-excluded
by Wayne Davison
· 22 years ago
a7260c4
Added the new --partial-dir option.
by Wayne Davison
· 22 years ago
b4afd23
Allow safe_fname() to tweak up to two name at a time.
by Wayne Davison
· 22 years ago
af1a3f9
Use safe_fname() in full_fname().
by Wayne Davison
· 22 years ago
820b6c9
Added safe_fname() that converts any newlines in a name into '?'s.
by Wayne Davison
· 22 years ago
b7061c8
Allow the argv list the daemon uses for globbing its args to grow.
by Wayne Davison
· 22 years ago
b5bd554
Neatened up some of the glob-expand code and made a few other minor tweaks.
by Wayne Davison
· 22 years ago
edad589
Got rid of a superfluous call to gettimeofday().
by Wayne Davison
· 22 years ago
9a5ade1
Made full_fname()'s char-pointer arg const.
by Wayne Davison
· 22 years ago
f9e5a0c
Improved the depth calculation in sanitize_path() so that it properly
by Wayne Davison
· 22 years ago
bc6ebcd
Moved a few externs.
by Wayne Davison
· 22 years ago
d62bcc1
Changed rprintf() calls that included strerror() to use rsyserr().
by Wayne Davison
· 22 years ago
4135d09
Changed the non-globbing version of glob_expand_one() so that it
by Wayne Davison
· 22 years ago
8b602ed
In copy_file(), check len < 0 before checking the close() return values.
by Wayne Davison
· 23 years ago
9f27cd8
Check the return code from close() and output an error if it fails.
by Wayne Davison
· 23 years ago
b084f9e
Got rid of a debug-output statement.
by Wayne Davison
· 23 years ago
9fdb334
Restore the old include behavior where a command-line include could
by Wayne Davison
· 23 years ago
acfcfa7
No need to pass a debug string to check_exclude() anymore.
by Wayne Davison
· 23 years ago
b05b3c9
Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old
by Wayne Davison
· 23 years ago
bf6dcd1
Updated the exclude-list code to handle the new linked-list structure format.
by Wayne Davison
· 23 years ago
5387514
Added a description arg to check_exclude().
by Wayne Davison
· 23 years ago
14b61c6
Added alloc_sanitize_path().
by Wayne Davison
· 23 years ago
62c9e6b
Moved the EXDEV handling into robust_rename().
by Wayne Davison
· 23 years ago
a8f7e4b
Made a couple comments a little clearer.
by Wayne Davison
· 23 years ago
4250941
Fixed a dropped '-'.
by Wayne Davison
· 23 years ago
c284f34
Some indentation fixes and the removal of some superfluous parens.
by Wayne Davison
· 23 years ago
5cb3743
Modified sizeof usage and eliminated trailing whitespace.
by Wayne Davison
· 23 years ago
b222607
Use "%H:%M:%S" instead of "%T" in strftime() call since it looks to be
by Wayne Davison
· 23 years ago
a16d8f2
Improved a couple comments.
by Wayne Davison
· 23 years ago
4af8fe4
- Changed push_dir() to not take a "save" arg and to return 1 or 0
by Wayne Davison
· 23 years ago
368ad70
Added stringjoin() and pathjoin().
by Wayne Davison
· 23 years ago
5c1b7bf
No need to conditionally-compile EINTR code -- no other files do this.
by Wayne Davison
· 23 years ago
58cadc8
Merged in the security fixes from 2.5.7.
by Wayne Davison
· 23 years ago
eb61be1
Added a new function, full_fname(), that makes a filename more complete
by Wayne Davison
· 23 years ago
4791825
Modified the glob_expand_one() function to check the args against the
by Wayne Davison
· 23 years ago
7afa3a4
Optimized unsafe_symlink() to avoid malloc/free calls.
by Wayne Davison
· 24 years ago
a70d070
Make unsafe_symlink() take const args so that we don't get any
by Wayne Davison
· 24 years ago
32f7617
Try to fix ctype issues by always calling these functions as
by Martin Pool
· 25 years ago
07a874f
Correction from Nelson Beebe: argument to functions such as isspace()
by Martin Pool
· 25 years ago
4e5db0a
Doc.
by Martin Pool
· 25 years ago
b4235b3
Doc.
by Martin Pool
· 25 years ago
0ecfbf2
Split code out into separate files and remove some global variables to
by Martin Pool
· 25 years ago
25d34a5
Rearrange code slightly to avoid util.c depending on main.c.
by Martin Pool
· 25 years ago
036e70b
Document unsafe_symlink().
by Martin Pool
· 25 years ago
ac13ad1
Clean up comments for Doxygen.
by Martin Pool
· 25 years ago
4cf6483
Patch from Paul Haas:
by Martin Pool
· 25 years ago
c579310
If we've finished transferring a file, show the time taken; otherwise
by Martin Pool
· 25 years ago
6dd41b6
print_child_argv can be static.
by Martin Pool
· 25 years ago
404e813
Add -vvv trace statement to set_modtime to help with Debian bug #100295.
by Martin Pool
· 25 years ago
1bbd10f
Remove the "rsync:" prefixes on FINFO messages. Return the "building file
by David Dykstra
· 25 years ago
0b1ffe2
Only print the command used to open connections with -vv, not just -v.
by Martin Pool
· 25 years ago
a261989
More signedness fixes; should be harmless.
by Martin Pool
· 25 years ago
5ad0e46
Show command used to start connection child.
by Martin Pool
· 25 years ago
1b5814e
indent -kr -i8
by Martin Pool
· 25 years ago
76f79ba
Patch from Jos Backus -- Fix breakage from dev_t to DEV64_T in batch mode.
by Martin Pool
· 25 years ago
9dd891b
Signedness security patch from Sebastian Krahmer <krahmer@suse.de> --
by Martin Pool
· 25 years ago
a9b3140
Remove unused variable.
by Martin Pool
· 25 years ago
f9c3005
Fix FP usage.
by Martin Pool
· 25 years ago
9147074
Oops, units bug.
by Martin Pool
· 25 years ago
7007bdd
Show time-remaining as hh:mm:ss.
by Martin Pool
· 25 years ago
6066594
Improved estimation algorithm for time-to-complete.
by Martin Pool
· 25 years ago
62791bd
Also estimate time remaining.
by Martin Pool
· 25 years ago
47f1218
Progress indicator now shows estimated rate of transfer (e.g. kB/s).
by Martin Pool
· 25 years ago
6902ed1
Merge across rsync+ patch; add a little documentation to the manpage. More documentation would be better.
by Martin Pool
· 25 years ago
e1bd49d
Try to fix "infinite loop" warning on AIX and other compilers. (We
by Martin Pool
· 25 years ago
8950ac0
imported new snprintf.c from samba, got rid of slprintf
by Andrew Tridgell
· 25 years ago
19b27a4
improved error handling again. Now we report messages for the remote
by Andrew Tridgell
· 26 years ago
1960e22
Drop dead variable.
by Martin Pool
· 26 years ago
5b56cc1
added --modify-window option from David Bolen <db3l@fitlinxx.com>
by Andrew Tridgell
· 26 years ago
9ec16c8
added msleep() function
by Andrew Tridgell
· 26 years ago
82980a2
fixed timing problem with cleanup and io_flush() by using non-blocking waitpid()
by Andrew Tridgell
· 26 years ago
0f8f98c
added insure debug support
by Andrew Tridgell
· 26 years ago
Next »