]> git.ipfire.org Git - thirdparty/ccache.git/commit
Various fixes in WIN32-specific code
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 28 Jan 2015 22:15:01 +0000 (23:15 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 28 Jan 2015 22:15:01 +0000 (23:15 +0100)
commit50ede96f411448eb86f07ad61dac8f542bb60b0c
tree1e6bc389536e94363bf49af62ebb12f463c33df6
parent67ed2854ea61dbc5455971e96cb34668ac54c98b
Various fixes in WIN32-specific code

* Avoid potential buffer overflow in add_exe_ext_if_no_to_fullpath.
* Avoid using zero-padding strncpy function.
* Removed superfluous newline characters from log messages.
* For consistency, moved variable declarations to the top of the scope
  to please older compilers.
* For consistency, used C89-style comments to please older compilers.
* Fixed source code formatting.
ccache.c
ccache.h
execute.c
util.c