[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] chicken-install: Store cache metadata out of the C include path
From: |
Mario Domenech Goulart |
Subject: |
[PATCH] chicken-install: Store cache metadata out of the C include path |
Date: |
Thu, 04 Jan 2024 20:13:09 +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.
All the best.
Mario
--
http://parenteses.org/mario
0001-chicken-install-Store-cache-metadata-out-of-the-C-in.patch
Description: Text Data
- [PATCH] chicken-install: Store cache metadata out of the C include path,
Mario Domenech Goulart <=