]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
5 years agoMerge pull request #343 from afbjorklund/clang-warning 3.5-maint
Joel Rosdahl [Thu, 3 Jan 2019 21:00:32 +0000 (22:00 +0100)] 
Merge pull request #343 from afbjorklund/clang-warning

Fix clang warning with older compiler versions

5 years agoFix clang warning with older compiler versions 343/head
Anders F Björklund [Thu, 3 Jan 2019 15:57:02 +0000 (16:57 +0100)] 
Fix clang warning with older compiler versions

Don't hardcode the clang version, apparently clang-3.8
did have the warning even though clang-3.4 did not...

5 years agoAdd NEWS for v3.5.1 v3.5.1
Joel Rosdahl [Wed, 2 Jan 2019 15:19:06 +0000 (16:19 +0100)] 
Add NEWS for v3.5.1

5 years agoUpdate copyright years
Joel Rosdahl [Wed, 2 Jan 2019 15:18:50 +0000 (16:18 +0100)] 
Update copyright years

5 years agoAdd missing getopt_long.c source file to dist (#341)
Anders Björklund [Wed, 2 Jan 2019 12:52:32 +0000 (13:52 +0100)] 
Add missing getopt_long.c source file to dist (#341)

Missed to include this when making compilation optional.

Closes #340.

5 years agoUse double for limit_multiple
Joel Rosdahl [Wed, 24 Oct 2018 20:10:41 +0000 (22:10 +0200)] 
Use double for limit_multiple

This allows for removing the -Wno-double-promotion and
-Wno-float-conversion options which are not available for the clang
version currently used for “make analyze”.

5 years agoFix constness of struct stats_info message member
Joel Rosdahl [Wed, 24 Oct 2018 20:06:19 +0000 (22:06 +0200)] 
Fix constness of struct stats_info message member

5 years agoRefactor conf item lookup code
Joel Rosdahl [Sat, 20 Oct 2018 20:42:55 +0000 (22:42 +0200)] 
Refactor conf item lookup code

- Extracted parse/format/verify functions into a separate confitems.c
  file.
- The *_lookup.c files are now compilation units of their own instead of
  being included inside conf.c. This feels cleaner, and also relieves
  cppcheck from having to check dirty, autogenerated code.

5 years agoIgnore cppcheck “Resource leak” warnings in test code
Joel Rosdahl [Sat, 20 Oct 2018 12:22:47 +0000 (14:22 +0200)] 
Ignore cppcheck “Resource leak” warnings in test code

It’s not worth the effort to write leak-free code for test failure code
paths.

5 years agoInclude error/warning ID in cppcheck output
Joel Rosdahl [Sat, 20 Oct 2018 12:20:26 +0000 (14:20 +0200)] 
Include error/warning ID in cppcheck output

5 years agoUse sizeof instead of repeating buffer size
Joel Rosdahl [Sat, 20 Oct 2018 12:15:11 +0000 (14:15 +0200)] 
Use sizeof instead of repeating buffer size

5 years agoDon’t pass CFLAGS to the linker
Joel Rosdahl [Sat, 20 Oct 2018 11:50:40 +0000 (13:50 +0200)] 
Don’t pass CFLAGS to the linker

5 years agoImprove distcheck
Joel Rosdahl [Sat, 20 Oct 2018 11:19:57 +0000 (13:19 +0200)] 
Improve distcheck

- Build with more warnings.
- Added an extra build with clang.
- Build with -Werror to actually catch the errors.

5 years agoAlways enable “more warnings” in dev mode
Joel Rosdahl [Sat, 20 Oct 2018 11:15:31 +0000 (13:15 +0200)] 
Always enable “more warnings” in dev mode

5 years agoSort list
Joel Rosdahl [Sat, 20 Oct 2018 11:04:46 +0000 (13:04 +0200)] 
Sort list

5 years agoFix missing header include / prototype
Anders F Björklund [Sat, 20 Oct 2018 10:46:23 +0000 (12:46 +0200)] 
Fix missing header include / prototype

no previous prototype for function 'unify_hash'

5 years agoFix const-correctness of the config formatter
Anders F Björklund [Sat, 20 Oct 2018 10:43:20 +0000 (12:43 +0200)] 
Fix const-correctness of the config formatter

Both strdup and format are returning "char *"

5 years agoIgnore return value from fwrite when writing debug log
Joel Rosdahl [Tue, 16 Oct 2018 18:32:01 +0000 (20:32 +0200)] 
Ignore return value from fwrite when writing debug log

This silences some compilers’ warnings about ignoring return value of
fwrite.

There’s not much we can do if they fail, and it’s also not important
enough to e.g. call failed() for the debug logs.

5 years agoRemove unused return value from cc_dump_log_buffer
Joel Rosdahl [Tue, 16 Oct 2018 18:31:45 +0000 (20:31 +0200)] 
Remove unused return value from cc_dump_log_buffer

5 years agoAdd Xavier René-Corail to .mailcap
Joel Rosdahl [Mon, 15 Oct 2018 20:10:22 +0000 (22:10 +0200)] 
Add Xavier René-Corail to .mailcap

5 years agoPrepare for v3.5 v3.5
Joel Rosdahl [Mon, 15 Oct 2018 19:28:34 +0000 (21:28 +0200)] 
Prepare for v3.5

5 years agoAdd -Wno-implicit-fallthrough for zlib build in non-dev mode as well
Joel Rosdahl [Mon, 15 Oct 2018 19:28:05 +0000 (21:28 +0200)] 
Add -Wno-implicit-fallthrough for zlib build in non-dev mode as well

5 years agoAdd some more silent make rules
Joel Rosdahl [Mon, 15 Oct 2018 19:22:58 +0000 (21:22 +0200)] 
Add some more silent make rules

5 years agoRemove obsolete cppcheck suppression
Joel Rosdahl [Mon, 15 Oct 2018 19:09:06 +0000 (21:09 +0200)] 
Remove obsolete cppcheck suppression

5 years agoMake cppcheck find config.h
Joel Rosdahl [Mon, 15 Oct 2018 19:08:51 +0000 (21:08 +0200)] 
Make cppcheck find config.h

5 years agoAdd assert in language_is_preprocessed
Joel Rosdahl [Mon, 15 Oct 2018 19:04:51 +0000 (21:04 +0200)] 
Add assert in language_is_preprocessed

This seems to make scan-build happy.

5 years agoUpdate NEWS
Joel Rosdahl [Sun, 14 Oct 2018 20:29:14 +0000 (22:29 +0200)] 
Update NEWS

5 years agoTweak silent make rule printouts
Joel Rosdahl [Sun, 14 Oct 2018 20:28:39 +0000 (22:28 +0200)] 
Tweak silent make rule printouts

5 years agoDefault to silent make rules unconditionally
Joel Rosdahl [Sun, 14 Oct 2018 20:18:25 +0000 (22:18 +0200)] 
Default to silent make rules unconditionally

5 years agoAdd configure option for silent make rules
Anders F Björklund [Wed, 3 Oct 2018 18:25:24 +0000 (20:25 +0200)] 
Add configure option for silent make rules

Adopted from AM_SILENT_RULES, default to no

5 years agoSort commandline option list
Joel Rosdahl [Sun, 14 Oct 2018 20:01:58 +0000 (22:01 +0200)] 
Sort commandline option list

5 years agoFix alignment and indentation
Joel Rosdahl [Sun, 14 Oct 2018 19:59:40 +0000 (21:59 +0200)] 
Fix alignment and indentation

5 years agoNew command-line option -k/--get-config prints the value of a config key
Gabriel Scherer [Sun, 10 Jun 2018 10:53:04 +0000 (12:53 +0200)] 
New command-line option -k/--get-config prints the value of a config key

We print exactly the value of the configuration setting, rather
than a full item pair "(origin) key = value" as --print-config does.

This is useful for scripting. For example, $(ccache -k cache_dir)
gives the cache directory path.

5 years agoUse the per-item printers in conf_print_items
Gabriel Scherer [Sun, 10 Jun 2018 10:35:12 +0000 (12:35 +0200)] 
Use the per-item printers in conf_print_items

5 years agoAdd a confitem field for entry printing, and a printer for each type
Gabriel Scherer [Sun, 10 Jun 2018 09:59:15 +0000 (11:59 +0200)] 
Add a confitem field for entry printing, and a printer for each type

5 years agoUse memcpy instead of strncpy in append_log
Joel Rosdahl [Sun, 14 Oct 2018 19:37:57 +0000 (21:37 +0200)] 
Use memcpy instead of strncpy in append_log

We’re copying a known amount of bytes; strncpy is almost never the right
solution.

5 years agoPass -Wno-implicit-fallthrough when compiling bundled zlib
Joel Rosdahl [Sat, 13 Oct 2018 12:02:47 +0000 (14:02 +0200)] 
Pass -Wno-implicit-fallthrough when compiling bundled zlib

It’s of no use to get warnings for 3pp code.

5 years agoMinor fixes for cygwin/msys2
Rafael Kitover [Tue, 25 Sep 2018 23:55:35 +0000 (16:55 -0700)] 
Minor fixes for cygwin/msys2

Add -Wno-error=implicit-fallthrough, if the compiler supports it,  to
dev.mk so that zlib will compile with -Werror.

Disable -Wdeprecated-declarations in the mkstemp() shim in util.c so
that it compiles with -Werror.

Stop assuming that mkstemp() is broken on cygwin, I could not find any
documentation for this.

Fix a couple of erroneous checks in zlib that assume cygwin is the same
as win32.

5 years agoClean up includes
Joel Rosdahl [Sun, 7 Oct 2018 20:05:04 +0000 (22:05 +0200)] 
Clean up includes

5 years agoFix bugs in debug mode logging
Joel Rosdahl [Sun, 7 Oct 2018 19:06:08 +0000 (21:06 +0200)] 
Fix bugs in debug mode logging

Need to dump log buffer as the last exit function to not lose any logs.
Also, made sure to print the final result log line even if the log mode
isn’t enabled.

5 years agoFix debug mode bug in cc_log_argv
Joel Rosdahl [Sun, 7 Oct 2018 18:50:37 +0000 (20:50 +0200)] 
Fix debug mode bug in cc_log_argv

5 years agoRefactor debug mode code
Joel Rosdahl [Sun, 7 Oct 2018 18:40:55 +0000 (20:40 +0200)] 
Refactor debug mode code

Knowledge of the debug mode snuck into the mdfour struct and code, which
did not feel good.

* Introduced a new “struct hash”, which is used by the hash_* functions
  instead of “struct mdfour”. “struct hash” contains the mdfour state
  and also debug file handles that can be set via a new
  hash_enable_debug function.
* Removed “identifier” from the mdfour struct and code.
* Introduced hash.h and all documented hash_* functions.
* Introduced unify.h.
* Removed some global state from util.c.

5 years agoAdd LGTM.com code quality badges
Xavier RENE-CORAIL [Fri, 14 Sep 2018 11:06:53 +0000 (12:06 +0100)] 
Add LGTM.com code quality badges

5 years agoFix Clang warning “declaration shadows a local variable”
Joel Rosdahl [Tue, 2 Oct 2018 19:48:47 +0000 (21:48 +0200)] 
Fix Clang warning “declaration shadows a local variable”

5 years agoMove ATTR_NORETURN function declarations closer to the definition
Joel Rosdahl [Tue, 2 Oct 2018 19:47:15 +0000 (21:47 +0200)] 
Move ATTR_NORETURN function declarations closer to the definition

5 years agoRemove superfluous “extern” function declarations from a9e8810f
Joel Rosdahl [Tue, 2 Oct 2018 19:45:25 +0000 (21:45 +0200)] 
Remove superfluous “extern” function declarations from a9e8810f

Function declarations are extern by default.

5 years agoMerge remote-tracking branch 'afbjorklund/everything'
Joel Rosdahl [Tue, 2 Oct 2018 19:33:27 +0000 (21:33 +0200)] 
Merge remote-tracking branch 'afbjorklund/everything'

* afbjorklund/everything:
  Make configure work with older clang versions
  Add option for enabling more compiler warnings
  Add configure support for detecting clang
  Avoid bad function cast by using temporary
  Proper use of const qualifier char* strings
  Removed locally shadowed global variables
  Don't use undefined macros, use ifdef instead
  Add noreturn to functions that don't return
  Add missing extern prototypes, or make static
  Don't use reserved id macros in the headers
  Only compile getopt_long.c when needed
  Address issues found by lgtm.com alerts

5 years agoUpdate NEWS
Joel Rosdahl [Tue, 2 Oct 2018 19:28:39 +0000 (21:28 +0200)] 
Update NEWS

5 years agoFix configure arg --without-bundled-zlib
Rafael Kitover [Wed, 12 Sep 2018 10:24:54 +0000 (03:24 -0700)] 
Fix configure arg --without-bundled-zlib

If the result of the AC_ARG_WITH check is 'no', assume system zlib.

5 years agoUpdate uncrustify config and run uncrustify version 0.66.1_f
Joel Rosdahl [Tue, 2 Oct 2018 18:51:12 +0000 (20:51 +0200)] 
Update uncrustify config and run uncrustify version 0.66.1_f

5 years agoRemove bogus out-of-memory check in reformat()
Joel Rosdahl [Tue, 2 Oct 2018 18:31:01 +0000 (20:31 +0200)] 
Remove bogus out-of-memory check in reformat()

5 years agoUpdate NEWS
Joel Rosdahl [Tue, 2 Oct 2018 18:26:13 +0000 (20:26 +0200)] 
Update NEWS

5 years agoImprove debug mode documentation
Joel Rosdahl [Tue, 2 Oct 2018 18:19:16 +0000 (20:19 +0200)] 
Improve debug mode documentation

5 years agoImprove debug log filenames
Joel Rosdahl [Tue, 2 Oct 2018 18:15:32 +0000 (20:15 +0200)] 
Improve debug log filenames

The “<objectfile>.ccache-hashX” files are also input data, so I think
that calling the “human-readable” version “<objectfile>.ccache-input” a
bit unpedagogical. Changes:

<objectfile>.ccache-hashX -> <objectfile>.ccache-input-X
<objectfile>.ccache-input -> <objectfile>.ccache-input-text

5 years agoMerge remote-tracking branch 'afbjorklund/hash_debug' into pr/279
Joel Rosdahl [Sat, 29 Sep 2018 19:48:41 +0000 (21:48 +0200)] 
Merge remote-tracking branch 'afbjorklund/hash_debug' into pr/279

* afbjorklund/hash_debug:
  Register debug_end as an exit function instead
  Avoid using strcat and small realloc
  Rename helper functions, as suggested in review
  Save debug file streams, instead of reopening
  Add section markers, to the text file
  Rename hash_debug, add matching end function
  Improve documentation with example file names
  Output log to debug, even without a logfile
  Avoid global md variable in mdfour file
  Add --hash-file command, for convenience
  Add functionality to debug the hashing
  Add feature to also log into a memory buffer
  Add config for debug option ($CCACHE_DEBUG)
  Add util to return the command as a string

5 years agoUpdate NEWS
Joel Rosdahl [Sun, 23 Sep 2018 19:51:23 +0000 (21:51 +0200)] 
Update NEWS

5 years agoImprove documentation of file_stat_matches_ctime
Joel Rosdahl [Sun, 23 Sep 2018 19:50:04 +0000 (21:50 +0200)] 
Improve documentation of file_stat_matches_ctime

5 years agoAdd option to disable ctime check for manifest
Anders F Björklund [Tue, 3 Jul 2018 21:01:26 +0000 (23:01 +0200)] 
Add option to disable ctime check for manifest

Make it possible to use e.g. "git-restore-mtime"*,
to use the original timestamps and avoid checksums.

* https://github.com/MestreLion/git-tools

Restoring ctime is much harder than restoring mtime,
since you need to change the system clock to do it.

5 years agoMake configure work with older clang versions 315/head
Anders F Björklund [Sun, 16 Sep 2018 20:19:09 +0000 (22:19 +0200)] 
Make configure work with older clang versions

Apparently clang-3.4 did not have -Wreserved-id-macro

5 years agoAdd option for enabling more compiler warnings
Anders F Björklund [Sun, 16 Sep 2018 18:42:39 +0000 (20:42 +0200)] 
Add option for enabling more compiler warnings

But remove some of the more annoying clang ones:

     18 [-Werror,-Wconversion]
     18 [-Werror,-Wdisabled-macro-expansion]
      9 [-Werror,-Wdouble-promotion]
      9 [-Werror,-Wfloat-conversion]
      1 [-Werror,-Wformat-nonliteral]
     52 [-Werror,-Wpadded]
     29 [-Werror,-Wshorten-64-to-32]
     75 [-Werror,-Wsign-conversion]

It's not really feasible to enable every warning.

5 years agoAdd configure support for detecting clang
Anders F Björklund [Sun, 16 Sep 2018 18:35:40 +0000 (20:35 +0200)] 
Add configure support for detecting clang

Also note that both GCC and Clang are GNU

5 years agoAvoid bad function cast by using temporary
Anders F Björklund [Sun, 16 Sep 2018 17:07:44 +0000 (19:07 +0200)] 
Avoid bad function cast by using temporary

The result after round/ceil _should_ work

5 years agoProper use of const qualifier char* strings
Anders F Björklund [Sun, 16 Sep 2018 16:48:03 +0000 (18:48 +0200)] 
Proper use of const qualifier char* strings

5 years agoRemoved locally shadowed global variables
Anders F Björklund [Sun, 16 Sep 2018 16:45:55 +0000 (18:45 +0200)] 
Removed locally shadowed global variables

Rename the local, or remove the parameter

5 years agoDon't use undefined macros, use ifdef instead
Anders F Björklund [Sun, 16 Sep 2018 16:44:12 +0000 (18:44 +0200)] 
Don't use undefined macros, use ifdef instead

5 years agoAdd noreturn to functions that don't return
Anders F Björklund [Sun, 16 Sep 2018 16:40:15 +0000 (18:40 +0200)] 
Add noreturn to functions that don't return

Fix the extra semicolon and unreachable code

5 years agoAdd missing extern prototypes, or make static
Anders F Björklund [Sun, 16 Sep 2018 16:37:05 +0000 (18:37 +0200)] 
Add missing extern prototypes, or make static

5 years agoDon't use reserved id macros in the headers
Anders F Björklund [Sun, 16 Sep 2018 16:31:20 +0000 (18:31 +0200)] 
Don't use reserved id macros in the headers

With an exception for the generated config.h

5 years agoOnly compile getopt_long.c when needed
Anders F Björklund [Sun, 16 Sep 2018 16:28:16 +0000 (18:28 +0200)] 
Only compile getopt_long.c when needed

ISO C disallows empty translation units

5 years agoAddress issues found by lgtm.com alerts 314/head
Anders F Björklund [Sun, 16 Sep 2018 12:40:44 +0000 (14:40 +0200)] 
Address issues found by lgtm.com alerts

5 years agotest: Fix various Solaris shell issues
Thomas Otto [Wed, 6 Jun 2018 10:52:36 +0000 (12:52 +0200)] 
test: Fix various Solaris shell issues

5 years agoMerge branch '3.4-maint'
Joel Rosdahl [Sun, 2 Sep 2018 08:35:09 +0000 (10:35 +0200)] 
Merge branch '3.4-maint'

* 3.4-maint:
  Prepare for v3.4.3
  Update NEWS
  Upgrade zlib to 1.2.11

5 years agoPrepare for v3.4.3 3.4-maint v3.4.3
Joel Rosdahl [Sun, 2 Sep 2018 08:27:04 +0000 (10:27 +0200)] 
Prepare for v3.4.3

5 years agoUpdate NEWS
Joel Rosdahl [Sun, 2 Sep 2018 08:05:59 +0000 (10:05 +0200)] 
Update NEWS

5 years agoUpgrade zlib to 1.2.11
Anders F Björklund [Sun, 26 Aug 2018 18:15:45 +0000 (20:15 +0200)] 
Upgrade zlib to 1.2.11

5 years agoRegister debug_end as an exit function instead 279/head
Anders F Björklund [Mon, 27 Aug 2018 17:25:55 +0000 (19:25 +0200)] 
Register debug_end as an exit function instead

5 years agoMerge branch '3.4-maint'
Joel Rosdahl [Thu, 23 Aug 2018 20:25:55 +0000 (22:25 +0200)] 
Merge branch '3.4-maint'

* 3.4-maint:
  Update NEWS
  Bail out on compiler option -save-temps=obj

5 years agoUpdate NEWS
Joel Rosdahl [Thu, 23 Aug 2018 20:20:30 +0000 (22:20 +0200)] 
Update NEWS

5 years agoBail out on compiler option -save-temps=obj
Anders F Björklund [Tue, 21 Aug 2018 20:22:38 +0000 (22:22 +0200)] 
Bail out on compiler option -save-temps=obj

Also add a test, and handle default (=cwd)

Closes #299

5 years agoFix minor memory leak introduced in dde3543c
Joel Rosdahl [Sun, 19 Aug 2018 06:52:07 +0000 (08:52 +0200)] 
Fix minor memory leak introduced in dde3543c

5 years agoFix “clang analyze” false positive
Joel Rosdahl [Sun, 19 Aug 2018 06:50:19 +0000 (08:50 +0200)] 
Fix “clang analyze” false positive

5 years agoUpdate NEWS
Joel Rosdahl [Sat, 18 Aug 2018 20:36:32 +0000 (22:36 +0200)] 
Update NEWS

5 years agoprocess_preprocessed_file: Move gnu_getcwd() out of tight loop
Mike Gulick [Tue, 24 Jul 2018 19:23:03 +0000 (15:23 -0400)] 
process_preprocessed_file: Move gnu_getcwd() out of tight loop

Change process_preprocessed_file from calling getcwd() once per line
in the preprocessed source file to once at the start of the function.
The performance of getcwd() on Mac seems to be terrible compared to
Linux.  On a macOS 10.13 build machine, this change improves
process_preprocessed_file runtime on a 10MB preprocessed file from 75
seconds to .75 seconds.

5 years agoMerge branch '3.4-maint'
Joel Rosdahl [Sat, 18 Aug 2018 20:28:24 +0000 (22:28 +0200)] 
Merge branch '3.4-maint'

* 3.4-maint:
  Update NEWS
  Add handling of separate -target parameter
  Bail out on too hard clang option “-MJ”

5 years agoMake sure to install gperf for analyze
Anders F Björklund [Sat, 28 Jul 2018 10:30:10 +0000 (12:30 +0200)] 
Make sure to install gperf for analyze

Also move the 32-bit libraries
to the 32-bit target (only).

Closes #290

5 years agoUpdate NEWS
Joel Rosdahl [Tue, 14 Aug 2018 19:49:04 +0000 (21:49 +0200)] 
Update NEWS

5 years agoAdd handling of separate -target parameter
Anders F Björklund [Tue, 3 Jul 2018 16:54:34 +0000 (18:54 +0200)] 
Add handling of separate -target parameter

Otherwise you will get an error in the log:

"x86_64-pc-linux-gnu is not a regular file,
 not considering as input file"

The argument seems to be specific to clang.

5 years agoUpdate NEWS
Joel Rosdahl [Tue, 14 Aug 2018 19:44:39 +0000 (21:44 +0200)] 
Update NEWS

5 years agoAdd a Vagrantfile for testing on FreeBSD
Anders F Björklund [Tue, 12 Jun 2018 21:51:35 +0000 (23:51 +0200)] 
Add a Vagrantfile for testing on FreeBSD

5 years agoCompiler "cc" might still be the same as "clang"
Anders F Björklund [Tue, 12 Jun 2018 21:11:44 +0000 (23:11 +0200)] 
Compiler "cc" might still be the same as "clang"

It migt also be "gcc", but try to play it safe.

5 years agoAdd FreeBSD compatibility to test suites
Anders F Björklund [Tue, 12 Jun 2018 20:23:57 +0000 (22:23 +0200)] 
Add FreeBSD compatibility to test suites

5 years agoAdd patch for X/Open, from FreeBSD ports
Anders F Björklund [Tue, 12 Jun 2018 19:58:29 +0000 (21:58 +0200)] 
Add patch for X/Open, from FreeBSD ports

Without this, e.g. "strndup" isn't visible.

5 years agoBail out on too hard clang option “-MJ”
Joel Rosdahl [Tue, 14 Aug 2018 19:14:36 +0000 (21:14 +0200)] 
Bail out on too hard clang option “-MJ”

See discussion in pull request #277.

5 years agoAvoid using strcat and small realloc
Anders F Björklund [Sun, 12 Aug 2018 16:10:59 +0000 (18:10 +0200)] 
Avoid using strcat and small realloc

For performance reasons with large strings, we don't want to
call strlen multiple times or to realloc one byte at a time.

5 years agoRename helper functions, as suggested in review
Anders F Björklund [Sun, 12 Aug 2018 15:01:05 +0000 (17:01 +0200)] 
Rename helper functions, as suggested in review

5 years agoSave debug file streams, instead of reopening
Anders F Björklund [Sun, 12 Aug 2018 14:47:16 +0000 (16:47 +0200)] 
Save debug file streams, instead of reopening

Also opens txt file in text mode, not binary

5 years agoAdd section markers, to the text file
Anders F Björklund [Sun, 12 Aug 2018 14:24:54 +0000 (16:24 +0200)] 
Add section markers, to the text file

5 years agoRename hash_debug, add matching end function
Anders F Björklund [Sun, 12 Aug 2018 14:06:39 +0000 (16:06 +0200)] 
Rename hash_debug, add matching end function

Remove the parameter stating if hit or miss

5 years agoImprove documentation with example file names
Anders F Björklund [Sun, 12 Aug 2018 13:56:14 +0000 (15:56 +0200)] 
Improve documentation with example file names

5 years agoOutput log to debug, even without a logfile
Anders F Björklund [Sun, 12 Aug 2018 13:46:31 +0000 (15:46 +0200)] 
Output log to debug, even without a logfile