]> git.ipfire.org Git - pakfire.git/commit
jail: Refactor searching for env variable function
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Jun 2023 13:31:27 +0000 (13:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Jun 2023 13:31:27 +0000 (13:31 +0000)
commitb88ae806b1d3b879c30b51c7f4c5689809e52be4
tree62abc5c95d8c922ba94bbb5fc21bab639716c2be
parent282b732a6b2463529f90d72f3fc6e01d174d41cc
jail: Refactor searching for env variable function

This used a variable size array on the stack before which is not needed.
This version should be slightly faster and the compiler should be able
to inline it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/jail.c