]> git.ipfire.org Git - thirdparty/tar.git/commit
Improve performance a bit on non-birthtime hosts
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Aug 2022 06:16:42 +0000 (23:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Aug 2022 07:07:39 +0000 (00:07 -0700)
commite49537dcdf0b35f2425402f3b5d77669c9b4aed9
tree04c07e5ec63e8fd4c9a1a8bcce506874cb7a2fef
parent66be5a789e70f911170017754fc51e499998f90e
Improve performance a bit on non-birthtime hosts

* src/extract.c (HAVE_BIRTHTIME, BIRTHTIME_EQ): New macros.
(struct delayed_link, create_placeholder_file, extract_link)
(apply_delayed_links): Avoid unnecessary work on platforms
like GNU/Linux that lack birthtime.
src/extract.c