]> git.ipfire.org Git - thirdparty/make.git/commit
Avoid strlen calls after sprintf
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Aug 2024 07:44:28 +0000 (00:44 -0700)
committerPaul Smith <psmith@gnu.org>
Mon, 2 Sep 2024 18:43:24 +0000 (14:43 -0400)
commit8c8c7fc2269df027d1591a6e4a4873f773a2d53f
tree5e3b08b47155537a2b22075e459c8cbaf5b55689
parent9fee98f8436a21a1332b6e849259c88a322dcff1
Avoid strlen calls after sprintf

* src/file.c (file_timestamp_sprintf):
* src/function.c (func_words, func_call):
* src/job.c (child_error):
* src/main.c (define_makeflags):
* src/output.c (message, error, fatal):
Use return value from sprintf instead of calling strlen
on the resulting buffer.
src/file.c
src/function.c
src/job.c
src/main.c
src/output.c