]> Dogcows Code - chaz/tar/commit - src/extract.c
(struct delayed_set_stat): New member 'after_symlinks'.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Sep 2001 06:46:23 +0000 (06:46 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Sep 2001 06:46:23 +0000 (06:46 +0000)
commit95dda72cc6231e3966fcaeaa16d6b55a45f602ed
treebf35d2b112b60e93dd4f66a444f3a51f99495005
parent172dc3e72b5a2b11af420eb546024c3dc7f03deb
(struct delayed_set_stat): New member 'after_symlinks'.
(delay_set_stat): Initialize it to 0.
(set_mode): New arg current_stat_info.  Use it (if nonnull) to avoid
taking an extra stat ourselves.  All callers changed.
(set_stat): Likewise.
(apply_nonancestor_delayed_set_stat): New arg 'after_symlinks'.
If false, stop when encountering a struct whose 'after_symlinks' member is
true.  Otherwise, go through all structures but check them more carefully.
All callers changed.
(extract_archive): When extracting a deferred symlink, if its parent
directory's status needs fixing, then mark the directory as needing
to be fixed after symlinks.
(extract_finish): Fix status of ordinary directories, then apply delayed
symlinks, then fix the status of directories that are ancestors
of delayed symlinks.
src/extract.c
This page took 0.026433 seconds and 4 git commands to generate.