[ccache] Suggested patch to add local strtok_r for systems lacking it

2012-04-12 Thread Jürgen Buchmüller
Hi list, here's a suggested patch for config.h.in and util.c to add a local implementation of strtok_r for systems that don't have it (e.g. mingw32 plus libgw32c). Cheers Juergen diff -rub ccache-3.1.7.orig/ccache.h ccache-3.1.7/ccache.h --- ccache-3.1.7.orig/ccache.h Sun Jan 8 14:40:55 2012

Re: [ccache] Suggested patch to add local strtok_r for systems lacking it

2012-04-12 Thread Jürgen Buchmüller
Am Donnerstag, den 12.04.2012, 18:54 +1000 schrieb Martin Pool: Thanks for the patch. I guess the definition ought to be guarded by HAVE_STRTOK_R, not _WIN32. Of course! I should have looked through it once more before submission. Perhaps you also need to update configure.in to check for

Re: [ccache] [PATCH v3] add support for '@' parameters

2012-07-30 Thread Jürgen Buchmüller
Am Montag, den 30.07.2012, 16:05 -0700 schrieb Andrew Boie: [..snip..] + /* Trivial case; replace with 1 element */ + dest-argv[index] = x_strdup(src-argv[0]); [..snap..] Shouldn't dest-argv[index] be free()d before overwriting it? + /* Copy the new arguments into

Re: [ccache] BSDiff for cache objects

2012-11-12 Thread Jürgen Buchmüller
Am Montag, den 12.11.2012, 13:49 +0200 schrieb Bogdan Harjoc: Basically, before writing a new object file, ccache could find a similar object in the cache (based on object-code or source-code hashes for example) The main goal of most hashes is to give very distinct results even for even small

Re: [ccache] ccache version 3.2.3 has been released

2015-08-17 Thread Jürgen Buchmüller
Am Montag, den 17.08.2015, 00:50 -0400 schrieb Mike Frysinger: On 16 Aug 2015 13:39, Tom Lane wrote: $ grep extra_libs Makefile extra_libs = -lz ccache$(EXEEXT): $(ccache_objs) $(extra_libs) $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) $(extra_libs) $(LIBS)