summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* Tweaked the checking of the "limit" in safe_fname().Wayne Davison2005-05-031-2/+3
* Changed safe_fname() to output \### (octal) to escape non-printableWayne Davison2005-04-011-11/+20
* dropped the "const" from the return value of safe_fname() becauseWayne Davison2005-03-301-1/+1
* Fixed a problem with the stripping of the .bak/.old/.orig suffixesWayne Davison2005-03-171-2/+2
* Tweaked the comment on copy_file().Wayne Davison2005-03-111-1/+2
* - Fixed a problem with full_fname() when curr_dir was "/".Wayne Davison2005-02-231-8/+4
* Cast char* to uchar* when dereferencing characters for isdigit()Wayne Davison2005-02-201-3/+3
* Fixed/improved the comment before safe_name().Wayne Davison2005-02-181-5/+5
* Added find_filename_suffix() and fuzzy_distance().Wayne Davison2005-02-141-0/+107
* John E. Malmberg convinced me to standardize on #ifs for definedWayne Davison2005-02-141-5/+5
* Have partial_dir_fname() also check if the dir is excludedWayne Davison2005-02-111-3/+11
* - Added more calls to safe_fname().Wayne Davison2005-02-071-18/+21
* Use "#if" (not "#ifdef") for configure-defined macros.Wayne Davison2005-01-281-4/+4
* 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.v2.6.1Wayne 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