about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorJonathan Keller <19418817+NobodyNada@users.noreply.github.com>2022-09-30 11:28:46 -0700
committerGitHub <noreply@github.com>2022-09-30 20:28:46 +0200
commit1c110080a8b8ac080f6ecb9e6c029a9c790bd479 (patch)
treee1c0784287f0dfbda6d6cf339b5dedd04a317c3b /src/include
parent7b67bbe6988d00d557d72c9867b99826320d1835 (diff)
downloadbox64-1c110080a8b8ac080f6ecb9e6c029a9c790bd479.tar.gz
box64-1c110080a8b8ac080f6ecb9e6c029a9c790bd479.zip
fix overzealous replace in wrappers pathnames (#415)
Wrapper filenames were generated by replacing ".c" with "_private.h".
Unfortunately this matched anywhere in the string, causing problems if
the path contained a directory containing the substring ".c". For
instance, if box64 is compiled in a '.cache' directory (as AUR helpers
like to do, see #144), the directory name was inadvertently mangled
into '_private.hache'.

Fix this by restricting the match to the end of the string.
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions