aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* Added "const" to appropriate char pointers.Wayne Davison2006-11-191-10/+8
* Turned the char * args to push_dir() and pop_dir() into const char *.Wayne Davison2006-11-131-2/+2
* Ignore a time-setting error on a symlink (which is only attemptedWayne Davison2006-11-121-2/+4
* Got rid of type-casting into isFOO() and toFOO() functions byWayne Davison2006-11-091-5/+5
* Use the MAX_RENAMES_DIGITS define in the relevant snprintf().Wayne Davison2006-10-141-1/+1
* Changed sprintf() calls to snprintf().Wayne Davison2006-10-131-2/+2
* Mark out_of_memory() and overflow_exit() with NORETURN.Wayne Davison2006-10-131-2/+2
* Function fcntl() only takes 2 args when using F_GETFL.Wayne Davison2006-10-131-2/+2
* Removed the changes in symlink handling in non-chroot daemon mode asWayne Davison2006-10-121-82/+0
* Made the push_dir() function take an option to skip the actual chdir()Wayne Davison2006-10-081-2/+2
* A bug-fix for die_on_unsafe_path() when the path doesn't exist.Wayne Davison2006-10-071-1/+2
* Output the who_am_i() info in out-of-memory() and overflow_exit().Wayne Davison2006-09-241-2/+2
* Check return value of asprintf() in full_fname(), as pointedWayne Davison2006-07-291-1/+2
* Make use of module_dirlen in full_fname().Wayne Davison2006-06-301-8/+1
* The print_child_argv() function should be outputting FCLIENTWayne Davison2006-05-291-4/+4
* - Added a call to die_on_unsafe_path() to handle_partial_dir().Wayne Davison2006-05-051-5/+5
* Added a new function named die_on_unsafe_path(). This is usedWayne Davison2006-05-051-0/+40
* - Added curr_dir_depth, a variable that keeps track of the depth pastWayne Davison2006-05-031-13/+82
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-20/+10
* Made create_directory_path() return -1 if it couldn't create someWayne Davison2006-02-241-10/+11
* + Added mkdir_defmode().Wayne Davison2006-02-241-2/+17
* Tweaked the --human-readable code to work with the new option parsing.Wayne Davison2006-02-081-1/+1
* - Renamed cmp_modtime() -> cmp_time().Wayne Davison2006-02-071-20/+95
* A minor optimization to timestring.Wayne Davison2006-02-031-4/+4
* The robust_rename() function now takes a "partialptr" arg that, ifWayne Davison2006-01-301-2/+10
* Made a bunch of char* args const.Wayne Davison2006-01-291-3/+3
* Got rid of unused function u_strcmp().Wayne Davison2006-01-201-16/+0
* Got rid of the safe_fname() function and the calls to it.Wayne Davison2006-01-131-42/+4
* Added two new functions: human_num() and human_dnum(), whichWayne Davison2005-11-121-0/+58
* One extra tweak to the just-committed code.Wayne Davison2005-10-151-1/+1
* If we're sanitizing paths with --relative enabled, we need toWayne Davison2005-10-151-4/+9
* Moved a variable in glob_expand_one().Wayne Davison2005-08-031-3/+2
* - Changed set_modtime() to take the file's mode as an arg.Wayne Davison2005-07-271-8/+19
* Changed overflow() to overflow_exit().Wayne Davison2005-07-071-1/+1
* 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