aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
...
* Renamed several exclude-related functions/variables using newWayne Davison2005-01-251-8/+8
* In set_modtime(), the verbose message should be output even ifWayne Davison2005-01-201-3/+3
* No need for conditional code around do_lstat() anymore.Wayne Davison2005-01-191-4/+0
* Made full_write() non-static.Wayne Davison2004-09-071-2/+2
* Corrected/enhanced a comment.Wayne Davison2004-08-181-2/+2
* One last minor tweak to clean_fname().Wayne Davison2004-08-121-3/+1
* - Made clean_flist()'s collapsing of ".." dirs optional by addingWayne Davison2004-08-121-10/+16
* One (hopefully) last change to the sanitize_path() code.Wayne Davison2004-08-121-17/+14
* Simplified sanitize_path() logic a little.Wayne Davison2004-08-121-35/+20
* Improved a comment.Wayne Davison2004-08-121-4/+4
* - Call sanitize_path() with updated args.Wayne Davison2004-08-111-36/+36
* Made robust_rename() return a 1 if it had to copy the file.Wayne Davison2004-08-091-3/+3
* Fixed a bug in clean_fname() that could sometimes leave a "dir/.."Wayne Davison2004-08-071-3/+3
* Made clean_fname() return the length of the string.Wayne Davison2004-08-061-3/+5
* An improved clean_fname() routine that is more efficient and will alsoWayne Davison2004-08-061-31/+38
* Merged alloc_sanitize_path() into sanitize_path(), adding an extra argWayne Davison2004-08-051-65/+45
* Don't allow a --partial-dir setting to overwrite a server-excludedWayne Davison2004-07-311-0/+3
* Added the new --partial-dir option.Wayne Davison2004-07-291-0/+61
* Allow safe_fname() to tweak up to two name at a time.Wayne Davison2004-07-261-3/+6
* Use safe_fname() in full_fname().Wayne Davison2004-07-261-0/+1
* Added safe_fname() that converts any newlines in a name into '?'s.Wayne Davison2004-07-261-0/+21
* Allow the argv list the daemon uses for globbing its args to grow.Wayne Davison2004-06-091-8/+21
* Neatened up some of the glob-expand code and made a few otherWayne Davison2004-06-051-39/+44
* Got rid of a superfluous call to gettimeofday().Wayne Davison2004-05-241-1/+0
* Made full_fname()'s char-pointer arg const.Wayne Davison2004-05-241-1/+1
* Improved the depth calculation in sanitize_path() so that it properlyWayne Davison2004-05-231-2/+5
* Moved a few externs.Wayne Davison2004-05-211-7/+7
* Changed rprintf() calls that included strerror() to use rsyserr().Wayne Davison2004-05-151-14/+9
* Changed the non-globbing version of glob_expand_one() so that itWayne Davison2004-05-081-4/+7
* In copy_file(), check len < 0 before checking the close() return values.Wayne Davison2004-04-271-6/+8
* Check the return code from close() and output an error if itWayne Davison2004-04-271-7/+15
* Got rid of a debug-output statement.Wayne Davison2004-04-271-1/+0
* Restore the old include behavior where a command-line include couldWayne Davison2004-04-221-1/+1
* No need to pass a debug string to check_exclude() anymore.Wayne Davison2004-04-221-2/+1
* Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the oldWayne Davison2004-04-171-5/+11
* Updated the exclude-list code to handle the new linked-listWayne Davison2004-04-141-3/+3
* Added a description arg to check_exclude().Wayne Davison2004-04-141-1/+2
* Added alloc_sanitize_path().Wayne Davison2004-03-271-0/+28
* Moved the EXDEV handling into robust_rename().Wayne Davison2004-02-171-10/+25
* Made a couple comments a little clearer.Wayne Davison2004-02-071-5/+5
* Fixed a dropped '-'.Wayne Davison2004-02-041-1/+1
* Some indentation fixes and the removal of some superfluous parens.Wayne Davison2004-02-031-36/+39
* Modified sizeof usage and eliminated trailing whitespace.Wayne Davison2004-02-031-31/+30
* Use "%H:%M:%S" instead of "%T" in strftime() call since it looks to beWayne Davison2004-02-021-1/+1
* Improved a couple comments.Wayne Davison2004-01-211-3/+7
* - Changed push_dir() to not take a "save" arg and to return 1 or 0Wayne Davison2004-01-201-23/+27
* Added stringjoin() and pathjoin().Wayne Davison2004-01-201-0/+52
* No need to conditionally-compile EINTR code -- no other files do this.Wayne Davison2004-01-021-7/+1
* Merged in the security fixes from 2.5.7.Wayne Davison2003-12-061-7/+20
* Added a new function, full_fname(), that makes a filename more completeWayne Davison2003-09-111-0/+46