[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Relative paths of include files are not normalised, w
From: |
Michael Richter |
Subject: |
Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once |
Date: |
Sat, 29 Jul 2023 16:02:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Concerning the #pragma once case, I tried to setup a cleaner patch on
tccpp.c. I just extracted the path normalisation from
search_cached_include and adjust some smaller things necessary. I diffed
this against latest mob 5b28165.
It's the simplest solution, just normalizing slashes and . .. upon
current working directory. This should master msot regular cases without
symlinks. But it means the identical files at two different paths in the
filesystem will not be seens as identical, but be included twice.
I don't wont to push it to the mob without feedback.
Regards
Michael
patch_tccpp_5b28_230729.txt
Description: Text document
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, gz8cx4, 2023/07/01
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, draco, 2023/07/07
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, grischka, 2023/07/07
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, Herman ten Brugge, 2023/07/07
- [Tinycc-devel] Re : Re: Relative paths of include files are not normalised, which can break #pragma once, david . koch, 2023/07/07
- Re: [Tinycc-devel] Re : Re: Relative paths of include files are not normalised, which can break #pragma once, Fred van Kempen, 2023/07/07
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, Jonathan Newman, 2023/07/07
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, gz8cx4, 2023/07/08
- Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once, grischka, 2023/07/07
Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once,
Michael Richter <=