git-annex/Build
Joey Hess 6f9a9c81f6
convert all readFile, writeFile, and appendFile to close-on-exec safe versions
Even in the Build system. This allows grepping to make sure that there
are none left un-converted:

git grep "writeFile" |grep -v F\\.| grep -v doc/|grep -v writeFileString | grep -v writeFileProtected |grep -v Utility/FileIO
git grep "readFile" |grep -v F\\.| grep -v doc/|grep -v readFileString |grep -v Utility/FileIO
git grep "appendFile" |grep -v F\\.| grep -v doc/|grep -v appendFileString |grep -v Utility/FileIO

Might be nice to automate that to prevent future mistakes...

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2025-09-05 15:44:32 -04:00
..
BuildVersion.hs type signature 2018-08-04 14:21:30 -04:00
BundledPrograms.hs remove dead code 2023-08-28 12:34:24 -04:00
collect-ghc-options.sh Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, and cpp. 2015-08-19 13:53:57 -04:00
Configure.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
DesktopFile.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
DistributionUpdate.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
InstallDesktopFile.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
LinuxMkLibs.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
MakeMans.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Mans.hs deal with cabal unpack not preserving execute bit 2021-02-08 14:32:24 -04:00
mdwn2man fix formatting of \ continued shell examples in man pages 2023-07-13 19:55:38 -04:00
NullSoftInstaller.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
OSXMkLibs.hs OsPath conversion for OSXMkLibs 2025-02-14 16:53:00 -04:00
Standalone.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
TestConfig.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00
Version.hs convert all readFile, writeFile, and appendFile to close-on-exec safe versions 2025-09-05 15:44:32 -04:00