]> git.ipfire.org Git - thirdparty/make.git/commit
Create helper functions for pushing file contexts
authorPaul Smith <psmith@gnu.org>
Sun, 26 Mar 2023 21:29:50 +0000 (17:29 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 1 Apr 2023 15:13:12 +0000 (11:13 -0400)
commit23f70b0cb86208d3b9b47b0efa9707a1dac5360b
treee301306edec0e916b6c0595317c9d436655e75ed
parent78c8c44326f644da612088fa05c8a77c5ca17a5e
Create helper functions for pushing file contexts

* src/variable.h (install_file_context, restore_file_context): Add
declarations for new functions.
* src/variable.c (install_file_context, restore_file_context): Define
the new functions.
(lookup_variable_for_file): Call them.
* src/expand.c (recursively_expand_for_file): Ditto.
(allocated_expand_variable_for_file): Ditto.
(expand_string_for_file): Ditto.
src/expand.c
src/variable.c
src/variable.h