Filter out files that are not ending in .c from c-sources (#9200)
commit47eb77ba3248083c0dd6c31cd4e15f4ea7bd749f
authorHécate Moonlight <Kleidukos@users.noreply.github.com>
Thu, 24 Aug 2023 15:54:40 +0000 (24 17:54 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 15:54:40 +0000 (24 17:54 +0200)
tree47b6cb0012ce810b2889ed88a94b1b5e84c71491
parent9faa4db9180ec4a645cfa1a4a00666dcaf37986c
Filter out files that are not ending in .c from c-sources (#9200)

Co-authored-by: Andrea Bedini <andrea.bedini@tweag.io>
fixes #9190
Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs
Cabal/src/Distribution/Simple/GHC.hs
cabal-testsuite/PackageTests/CSourcesSanitisation/Main.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/build.out [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/build.test.hs [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/cabal.project [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/cbits/gwinsz.c [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/cbits/gwinsz.h [new file with mode: 0644]
cabal-testsuite/PackageTests/CSourcesSanitisation/repro.cabal [new file with mode: 0644]