]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: add syntax check to ensure safe mkstemp usage
authorPádraig Brady <P@draigBrady.com>
Tue, 18 Jul 2023 17:38:42 +0000 (18:38 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 18 Jul 2023 17:59:10 +0000 (18:59 +0100)
commit47e1388d6fe4a8015de8f3c5521ed851aef6a193
treef828febb06977a625bc0d306c5a1ee88d427da6b
parent02a4ebd6c451d013ecc4a93a809416781fbaf6ab
maint: add syntax check to ensure safe mkstemp usage

One needs to include stdlib--.h if using mkstemp()
lest one hits esoteric bugs with closed stdin etc.

* cfg.mk (sc_require_stdlib_safer): Add a new syntax check.
(sc_require_stdio_safer): Fix this; broken since commit fa7ed969c3.
cfg.mk