]> git.ipfire.org Git - thirdparty/curl.git/commit
libtests: generate the lib1521 atomically
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Oct 2024 15:50:02 +0000 (17:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Oct 2024 21:00:24 +0000 (23:00 +0200)
commit2ae8d9b579281ee5a9383f97e4e608b3897ccbf0
tree1d06a47cee1739c44bb4b7acb30c6e06931c236e
parentb9877b74c58f8be7fb99f2e002d818fe4f3ed6a5
libtests: generate the lib1521 atomically

By renaming from a temporary file name to the .c once completed. This
avoids the risk that the checksrc job tries to verify the file before it
is complete, in parallel build setups.

Reported-by: Dan Frandrich
Fixes #15258
Closes #15327
tests/libtest/CMakeLists.txt
tests/libtest/Makefile.am
tests/libtest/mk-lib1521.pl