William S Fulton
60af317956
Fix UBSAN errors in ccache-swig
...
ccache.c:738:18: runtime error: null pointer passed as argument 1, which is declared to never be null
Fixes stderr redirect in testname CCACHE_CPP2, when the CCACHE_CPP2
environment variable is defined.
mdfour.c:91:20: runtime error: left shift of 139 by 24 places cannot be represented in type 'int'
Looks like this brings some stability to the md4 hash calculation.
Closes #2449
2022-11-26 18:18:55 +00:00
Olly Betts
631b41ae7b
Use https for swig.org links
2022-10-06 13:16:39 +13:00
Dimitris Apostolou
f586d920f7
Fix typos
2021-11-17 07:07:02 +02:00
William S Fulton
f822a6f091
configure.ac tidyup after update (ccache)
...
We don't use TIME_WITH_SYS_TIME
Don't check for sys/time.h twice
Minimum version was 2.52 before upgrade, no need to enforce 2.71
Set it to 2.60 (same as main swig configure.ac) - new macros
introduced by autoupdate are in 2.60.
2021-04-26 22:32:52 +01:00
William S Fulton
5ef26675cc
configure.ac update (ccache)
...
Updated using autoupdate from autoconf 2.71
2021-04-26 22:32:52 +01:00
William S Fulton
82513bbf8f
Fix CCache test.sh when CC contains full path
...
Fixes symbolic link creation.
Also fixes test.sh when SWIG contains a full path.
Closes #1212
2019-01-21 18:08:30 +00:00
William S Fulton
9b44d1bb7e
Fix -Wimplicit-fallthrough gcc-7.3 warning
2018-03-20 00:19:41 +00:00
William S Fulton
20b72b78b4
Fix CCache documentation build and uninstall
2017-07-15 13:17:50 +01:00
FUTATSUKI Yasuhito
b4b193d7de
Add explicit dependency on header files generated by configure script
2017-06-24 22:32:27 +09:00
FUTATSUKI Yasuhito
c2f622c73c
Fix make *clean issue in CCache subdir
2017-06-24 21:58:57 +09:00
FUTATSUKI YASUHITO
7be53b7692
Apply changes requested for this pull request
2017-06-21 11:54:06 +09:00
FUTATSUKI YASUHITO
36b61dd0f2
fix typo
2017-06-20 07:57:54 +09:00
FUTATSUKI YASUHITO
529906f181
Embed fixed string '.exe' to CCache/config_win32.h even if EXEEXT is empty.
2017-06-20 01:47:07 +09:00
FUTATSUKI YASUHITO
93895f5a51
Add header file in CCache for _WIN32 environment
2017-06-20 01:33:10 +09:00
FUTATSUKI YASUHITO
a706aa146c
CCache: take care of program prefix/suffix on configure
2017-06-19 18:35:22 +09:00
William S Fulton
adfa531a3b
whitespace fix
2016-06-26 00:06:15 +01:00
Amarnath Valluri
6234ebd486
CCache: Fix typo in null check
2016-06-17 15:07:39 +03:00
Amarnath Valluri
478d5df911
CCache: Fix memory/file descriptor leaks
...
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
2016-06-17 15:07:36 +03:00
William S Fulton
8eb9eebb84
Fix warning compiling with i686-w64-mingw32-gcc
2016-05-29 00:50:00 +01:00
William S Fulton
64dcd50b99
Remove dependency on yodl tools and remove ccache-swig man page
...
Use the CCache.html docs instead of the ccache-swig man page.
The yodl2man and yodl2html tools are no longer used and so SWIG no
longer has a dependency on these packages which were required when
building from git.
Closes #286
Closes #128
2015-12-17 02:36:48 +00:00
Björn Esser
1a977a2192
use sed only to filter CCache from $PATH
2015-12-16 11:07:45 +01:00
Björn Esser
790c729447
Ignore locally installed ccache when running CCache unit tests
...
original patch by David Sommerseth <davids@redhat.com>
2015-12-16 11:07:45 +01:00
William S Fulton
3394eab52e
Fix 'make check-ccache' when one of the CCACHE_ environment variables is set.
...
Note that CCACHE_DISABLE is now set in the Travis environment.
2015-04-23 08:20:13 +01:00
Karl Wette
cc1ff55be4
CCache: always generate docs in source directory
2014-05-29 02:24:33 +02:00
William S Fulton
ce5f49463e
Remove duplicate test target in CCache Makefile
2014-05-15 23:11:08 +01:00
Karl Wette
e0b987b32f
CCache/Makefile.in: fix to allow out of source tree check/install
2014-05-11 21:31:32 +02:00
Karl Wette
96153c7c0a
Regenerate configured Makefile if Makefile.in or config.status have changed
2014-05-11 21:31:32 +02:00
Karl Wette
d5b765d388
Whitespace cleanup of all Makefiles*
...
- some of the %.clean rules in the test-suite Makefiles were using a single tab
as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
William S Fulton
c4e29fb686
Remove mkstemp replacement for ccache-swig on Cygwin
...
Cygwin 1.7.0 as well as Cygwin 1.7.24 seem to be working okay
Cygwin 1.7.24 gives gcc warning about dangerous use of mktemp
2013-09-14 15:51:50 -07:00
William Fulton
4ba9365e0f
Fix ccache-swig internal error bug due to premature file cleanup
...
Fixes SF bug 1319 which shows up as a failure in the ccache tests on
Debian 64 bit Wheezy, possibly because ENABLE_ZLIB is defined.
This bug is due to files being too aggressively cleaned up part way
through the caching. The .stderr file is cached and then retrieved
from the cache for displaying to stderr. However, the stats are updated
between caching and using the .stderr file. During the stats update the
cache is cleaned and the newly cached files can be removed if the max
number of files per directory is low. Really the cache should be cleaned
up at exit to solve this (as is done in ccache-3.1). The workaround fix
ensures the cached files are ignored during cleanup, which is a bit
tricky as sometimes files from a previous run have the same time stamp,
so that don't appear to be the oldest in the cache.
2013-05-19 00:59:28 +01:00
William S Fulton
e0e4a4db6d
Warning fix for ccache-swig tests
...
clang deletes the output 'file' whereas gcc does not if the output
'file' is actually a directory.
2013-04-28 18:41:11 +01:00
William S Fulton
e2a0b89248
Rename configure.in files to expected modern name configure.ac
2013-01-12 00:57:17 +00:00
William S Fulton
bee563e788
ccache-swig: apply patch #3586392 from Frederik Deweerdt to fix some error cases - incorrectly using memory after it has been deleted
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-14 22:17:52 +00:00
William S Fulton
0080d1e031
display to user ccache-swig install files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 12:04:28 +00:00
William S Fulton
3289c7d897
more distclean and maintainer-clean fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 10:34:34 +00:00
William S Fulton
d090cadb4c
more distclean fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 10:11:01 +00:00
William S Fulton
b53e52602a
make maintainer-clean and make distclean fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 01:14:52 +00:00
William S Fulton
96fbbc50cc
make maintainer-clean fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 00:30:16 +00:00
William S Fulton
fb99ef318c
fixes for make distclean
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 00:20:42 +00:00
Olly Betts
f65ad1caca
"make distclean" is supposed to return the source tree to a bootstrapped state
...
so don't remove "configure" as that breaks "make distclean;./configure".
Add new "maintainer-clean" target and remove configure in that instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-10 12:03:26 +00:00
William S Fulton
1be8bd5d8e
tidy up distclean
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-21 00:00:23 +00:00
William S Fulton
b56cd0b0f6
remove unused directory creation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-20 23:55:25 +00:00
William S Fulton
cd6eb83d61
Fix #2797485 After doing a 'make clean', install fails if yodl2man or yodl2html is not available.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:10:04 +00:00
William S Fulton
4a1b29a394
fix ordering of chapters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-01 12:46:26 +00:00
William S Fulton
05a2d2dc9d
correct ccache-swig title in docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 18:55:32 +00:00
William S Fulton
2e68619a9f
add some missing stats and logging
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 17:52:15 +00:00
William S Fulton
f94edcd855
Fix spaces in CCACHE_DIR and probably other places
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 16:54:54 +00:00
William S Fulton
a80aa441aa
reorder new test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 11:24:07 +00:00
William S Fulton
e3f63c33f3
remove unnecessary logging on Win32 builds
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 10:36:00 +00:00
William S Fulton
7c81201d28
Fix lack of error logging in some situations and fix failure to work on windows when swig is a pure Win32 (non-cygwin) compile
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 02:26:34 +00:00