]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
spawn: avoid alloca in C pi_fork_exec
authorEric Wong <e@80x24.org>
Fri, 27 Oct 2023 22:21:09 +0000 (22:21 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Oct 2023 09:08:15 +0000 (09:08 +0000)
commit76ede1996b9d1e4317710be3a9669c51582c298b
treed7cc1de6060582f7227d36089ee2977222a54da8
parent17ae57820f9c10f6b6dd035ac76dddb4e24b1646
spawn: avoid alloca in C pi_fork_exec

We don't have thread-safety to worry about, so just leave a few
allocations at process exit at worst.  We'll also update some
comments about usage while we're at it.
lib/PublicInbox/Spawn.pm