summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* Improve temporary file creation functions and usageJoel Rosdahl2014-11-151-18/+46
* Merge maint into master (using imerge)Joel Rosdahl2014-11-131-26/+11
|\
| * Do not rely on pids being uniqueJoel Rosdahl2014-11-131-7/+11
* | Fixed build with mingwPatrick von Reth2014-05-181-1/+1
* | Remove unused cc_vlog functionJoel Rosdahl2014-05-081-9/+0
* | Merge branch 'maint'Joel Rosdahl2014-04-151-17/+7
|\ \ | |/
| * Clean up dead code flagged by cppcheck and clang-analyzerVille Skyttä2014-04-131-9/+1
| * Fix bug in common_dir_prefix_lengthJoel Rosdahl2014-04-091-16/+6
* | Merge branch 'maint'Joel Rosdahl2013-08-081-1/+3
|\ \ | |/
| * Handle some dirname() special cases as expectedJoel Rosdahl2013-08-081-1/+3
* | Disable FD_CLOEXEC code on windowsPatrick von Reth2013-03-161-0/+2
* | Merge branch 'maint'Joel Rosdahl2013-01-051-1/+6
|\ \ | |/
| * Don't leak log file descriptor to executed commandsJoel Rosdahl2013-01-051-0/+5
| * Improve x_unlink's temporary filenameJoel Rosdahl2013-01-031-2/+2
* | Fix race condition when creating initial cache directoryDavid Givone2012-09-231-0/+12
* | Merge branch 'maint'Joel Rosdahl2012-09-131-3/+6
|\ \ | |/
| * Handle EAGAIN during copy_fdAlfred Landrum2012-09-071-3/+6
* | Improve log messages of x_unlink and tmp_unlinkJoel Rosdahl2012-08-081-9/+10
* | Fix coding styleJoel Rosdahl2012-08-081-1/+1
* | Implement x_realpath for WindowsPatrick von Reth2012-08-011-4/+11
* | Merge branch 'maint'Joel Rosdahl2012-07-281-11/+28
|\ \ | |/
| * Improve get_relative_path and add unit testsJoel Rosdahl2012-07-281-12/+28
| * Canonicalize paths when computing path relative to base directoryJoel Rosdahl2012-07-271-1/+2
* | Remove redundant codeJoel Rosdahl2012-07-141-9/+0
* | Portability: Don't assume unsetenv has a non-void return typeJoel Rosdahl2012-03-071-3/+3
* | Introduce x_unsetenv for increased portabilityJoel Rosdahl2012-03-051-0/+9
* | Merge branch 'master' into configJoel Rosdahl2012-02-201-15/+16
|\ \
| * | Minor code style changesJoel Rosdahl2012-02-201-9/+9
| * | Support adjusting the compression level through CCACHE_COMPRESS_LEVELHongli Lai (Phusion)2012-02-201-14/+15
* | | Make format_human_readable_size saner for size < 1000Joel Rosdahl2012-02-131-5/+1
* | | Merge branch 'master' into configJoel Rosdahl2012-01-081-6/+10
|\ \ \ | |/ /
| * | while (1) -> while (true)Joel Rosdahl2012-01-081-1/+1
| * | Merge branch 'maint'Joel Rosdahl2012-01-081-5/+9
| |\ \ | | |/
| | * Fix minor memory leaksJoel Rosdahl2012-01-071-5/+9
* | | Use true/false for boolean valuesJoel Rosdahl2011-08-151-3/+3
* | | Merge branch 'master' into configJoel Rosdahl2011-08-151-0/+6
|\ \ \ | |/ /
| * | Correct win32 ifndefsJoel Rosdahl2011-08-141-0/+2
| * | Merge branch 'maint'Joel Rosdahl2011-08-031-1/+5
| |\ \ | | |/
| | * Don't crash when getcwd() failsJoel Rosdahl2011-08-031-1/+5
* | | Don't fetch current time for each logged configuration itemJoel Rosdahl2011-07-291-18/+29
* | | Add cc_log_without_flushJoel Rosdahl2011-07-291-7/+29
* | | Use NULL instead of 0 for null pointerJoel Rosdahl2011-07-291-1/+1
* | | Rename x_asprintf2 to reformatJoel Rosdahl2011-07-291-10/+11
* | | Let k/M/G/T be 10-based suffixes and introduce 2-based Ki/Mi/Gi/Ti as wellJoel Rosdahl2011-07-261-34/+49
* | | Use real size instead of multiples of 1024 for sizesJoel Rosdahl2011-07-261-17/+18
* | | config: Use files and size limits from configJoel Rosdahl2011-07-201-1/+0
* | | Teach parse_size_with_suffix to parse float-style sizesJoel Rosdahl2011-07-201-5/+5
* | | Add utility function format_parsable_size_with_suffixJoel Rosdahl2011-07-201-0/+17
* | | Rename format_size to format_human_readable_sizeJoel Rosdahl2011-07-201-1/+1
* | | config: Use log_file from conf structJoel Rosdahl2011-07-201-3/+5