summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-02-26 17:15:56 -0500
committerPaul Smith <psmith@gnu.org>2023-02-26 17:15:56 -0500
commit5d1fe2b16db49f15fb8611e70221687cecb411bc (patch)
tree648d8e063cee1252979739ee3736220d3f022930 /src/misc.c
parent8285852e553429021526d1a686fff290a5d469ef (diff)
downloadmake-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 'src/misc.c')
0 files changed, 0 insertions, 0 deletions