[sr #111048] Add a syntax check to code snippets

Fabrice BAUZAC-STEHLY <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #3, sr #111048 (group autoconf):

I agree, it's not so easy.

On CMake side, I think they are considering adding an "escape hatch" that
would not go unnoticed either.

For Autoconf, maybe we could add a separate macro (with a very explicit name)
for syntax checks like "case 0 ... 5".  A malicious contributor would have a
harder time explaining why they would create a syntax check for checking the
availability of a system feature like landlock, as was the case with XZ
Utils.
https://www.man7.org/linux/man-pages/man7/landlock.7.html

My 2 cents...


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111048>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.