summaryrefslogtreecommitdiff
path: root/util.c
AgeCommit message (Expand)AuthorFilesLines
2006-07-29Check return value of asprintf() in full_fname(), as pointedWayne Davison1-1/+2
2006-06-30Make use of module_dirlen in full_fname().Wayne Davison1-8/+1
2006-05-29The print_child_argv() function should be outputting FCLIENTWayne Davison1-4/+4
2006-05-05- Added a call to die_on_unsafe_path() to handle_partial_dir().Wayne Davison1-5/+5
2006-05-05Added a new function named die_on_unsafe_path(). This is usedWayne Davison1-0/+40
2006-05-03- Added curr_dir_depth, a variable that keeps track of the depth pastWayne Davison1-13/+82
2006-04-25Updated the FSF's address to an even newer one.Wayne Davison1-3/+3
2006-04-25- Updated the address for the FSF in the opening comment.Wayne Davison1-20/+10
2006-02-24Made create_directory_path() return -1 if it couldn't create someWayne Davison1-10/+11
2006-02-24+ Added mkdir_defmode().Wayne Davison1-2/+17
2006-02-08Tweaked the --human-readable code to work with the new option parsing.Wayne Davison1-1/+1
2006-02-07- Renamed cmp_modtime() -> cmp_time().Wayne Davison1-20/+95
2006-02-03A minor optimization to timestring.Wayne Davison1-4/+4
2006-01-30The robust_rename() function now takes a "partialptr" arg that, ifWayne Davison1-2/+10
2006-01-29Made a bunch of char* args const.Wayne Davison1-3/+3
2006-01-20Got rid of unused function u_strcmp().Wayne Davison1-16/+0
2006-01-13Got rid of the safe_fname() function and the calls to it.Wayne Davison1-42/+4
2005-11-12Added two new functions: human_num() and human_dnum(), whichWayne Davison1-0/+58
2005-10-15One extra tweak to the just-committed code.Wayne Davison1-1/+1
2005-10-15If we're sanitizing paths with --relative enabled, we need toWayne Davison1-4/+9
2005-08-03Moved a variable in glob_expand_one().Wayne Davison1-3/+2
2005-07-27- Changed set_modtime() to take the file's mode as an arg.Wayne Davison1-8/+19
2005-07-07Changed overflow() to overflow_exit().Wayne Davison1-1/+1
2005-05-03Tweaked the checking of the "limit" in safe_fname().Wayne Davison1-2/+3
2005-04-01Changed safe_fname() to output \### (octal) to escape non-printableWayne Davison1-11/+20
2005-03-30dropped the "const" from the return value of safe_fname() becauseWayne Davison1-1/+1
2005-03-17Fixed a problem with the stripping of the .bak/.old/.orig suffixesWayne Davison1-2/+2
2005-03-11Tweaked the comment on copy_file().Wayne Davison1-1/+2
2005-02-23- Fixed a problem with full_fname() when curr_dir was "/".Wayne Davison1-8/+4
2005-02-20Cast char* to uchar* when dereferencing characters for isdigit()Wayne Davison1-3/+3
2005-02-18Fixed/improved the comment before safe_name().Wayne Davison1-5/+5
2005-02-14Added find_filename_suffix() and fuzzy_distance().Wayne Davison1-0/+107
2005-02-14John E. Malmberg convinced me to standardize on #ifs for definedWayne Davison1-5/+5
2005-02-11Have partial_dir_fname() also check if the dir is excludedWayne Davison1-3/+11
2005-02-07- Added more calls to safe_fname().Wayne Davison1-18/+21
2005-01-28Use "#if" (not "#ifdef") for configure-defined macros.Wayne Davison1-4/+4
2005-01-25Renamed several exclude-related functions/variables using newWayne Davison1-8/+8
2005-01-20In set_modtime(), the verbose message should be output even ifWayne Davison1-3/+3
2005-01-19No need for conditional code around do_lstat() anymore.Wayne Davison1-4/+0
2004-09-07Made full_write() non-static.Wayne Davison1-2/+2
2004-08-18Corrected/enhanced a comment.Wayne Davison1-2/+2
2004-08-12One last minor tweak to clean_fname().Wayne Davison1-3/+1
2004-08-12- Made clean_flist()'s collapsing of ".." dirs optional by addingWayne Davison1-10/+16
2004-08-12One (hopefully) last change to the sanitize_path() code.Wayne Davison1-17/+14
2004-08-12Simplified sanitize_path() logic a little.Wayne Davison1-35/+20
2004-08-12Improved a comment.Wayne Davison1-4/+4
2004-08-11- Call sanitize_path() with updated args.Wayne Davison1-36/+36
2004-08-09Made robust_rename() return a 1 if it had to copy the file.Wayne Davison1-3/+3
2004-08-07Fixed a bug in clean_fname() that could sometimes leave a "dir/.."Wayne Davison1-3/+3
2004-08-06Made clean_fname() return the length of the string.Wayne Davison1-3/+5