]> git.ipfire.org Git - thirdparty/tar.git/commit
Simplify checkpoint_action allocation
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Nov 2024 02:53:25 +0000 (19:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 06:47:23 +0000 (23:47 -0700)
commit7abf1420c32b2a1d89a82e5cc4186d0d7ddd87b1
tree23319d197f8eef4c118a9a2b15ff268b1e9f411a
parent0b602280819fbebed59651618c7e070306f7c0f4
Simplify checkpoint_action allocation

* src/checkpoint.c: Include <flexmember.h>.
(struct checkpoint_action): New member commandbuf.
(checkpoint_action_tail): Now pointer to pointer,
to simplify updating.  All uses changed.
(alloc_action): New arg quoted_string, to lessen number of
separate allocations.  All uses changed.
src/checkpoint.c