]> git.ipfire.org Git - thirdparty/tar.git/commit
xsparse dry runs should not create output
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Aug 2024 04:58:53 +0000 (21:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2024 08:41:43 +0000 (01:41 -0700)
commit9cb12936283bebb2f04524bfc970457dc0ed8f57
tree5a08aaf9f9d3673d0a2ca0de3013e83d66c57a4f
parent44196e198f004df24e9a8e63b33bb20996840280
xsparse dry runs should not create output

* scripts/xsparse.c (expand_sparse, main): Check for syscall
failure.  Do not create output file if a dry run.
scripts/xsparse.c