chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] chicken-install: Store cache metadata out of the C includep


From: felix . winkelmann
Subject: Re: [PATCH] chicken-install: Store cache metadata out of the C includepath
Date: Fri, 05 Jan 2024 00:27:12 +0100

> Hi,
>
> The attached patch is a follow-up to the fix for
> http://bugs.call-cc.org/ticket/1753
>
> 2f6a72211e37 works around the problem by adding an underscore as a
> prefix to the cache metadata files (VERSION, TIMESTAMP and STATUS).
> While the new names tend to be a bit more unusual than the original
> ones, they are still valid filenames to be included into C/C++ code
> via #include.
>
> The attached patch avoids the problem of unintended inclusion altogether
> by storing the cache metadata files into a directory which is not in the
> include path of the C compiler (<cache-dir>/.cache-metadata/<egg>).
>
> .cache-metadata is not a valid egg name, so it can be in <cache-dir>
> together with egg directories.

Pushed - thanks!


felix





reply via email to

[Prev in Thread] Current Thread [Next in Thread]