diff options
author | Paul Smith <psmith@gnu.org> | 2023-02-26 17:15:56 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-02-26 17:15:56 -0500 |
commit | 5d1fe2b16db49f15fb8611e70221687cecb411bc (patch) | |
tree | 648d8e063cee1252979739ee3736220d3f022930 /tests/scripts/variables/flavors | |
parent | 8285852e553429021526d1a686fff290a5d469ef (diff) | |
download | make-git-5d1fe2b16db49f15fb8611e70221687cecb411bc.tar.gz |
* src/main.c (define_makefiles): Simplify by using variable_buffer
Toss the previous implementation which first computed a locally
allocated list of options, then used alloca() to create a buffer
of the right size and populate it. Instead, use variable_buffer
to append to the string directly. First add all single-letter
options without arguments, then add options with arguments.
Diffstat (limited to 'tests/scripts/variables/flavors')
0 files changed, 0 insertions, 0 deletions