]> Dogcows Code - chaz/tar/commit
(struct delayed_symlinks, extract_archive, apply_delayed_symlinks):
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Aug 2001 14:27:54 +0000 (14:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Aug 2001 14:27:54 +0000 (14:27 +0000)
commita7cd57a91dba44bba5bcc8039c5f7aae25315d52
tree1d06d7b52ffcc24143180c03e8e98e5237f18f71
parent58e97f92d39e8e69bd2e98de29635a9a35c47994
(struct delayed_symlinks, extract_archive, apply_delayed_symlinks):
Support hard links to symbolic links.

(struct delayed_symlink): Remove 'names' member, replacing it with
'sources' and 'target' member.  All uses changed.

(struct string_list): New type.

(delayed_set_stat, extract_archive): Use offsetof when computing sizes
for struct hack; this avoids wasted space in some cases.

(extract_archive): Fix test for absolute pathnames and/or "..".
Use link_error to report errors for links.
Remove redundant trailing '/' at "really_dir", for all uses, not
just before invoking mkdir.
If overwriting old files, do not worry so much about existing directories.
Fix mode computation in the case where the directory exists.

(apply_delayed_symlinks): If we can't make a hard link to a symbolic
link, make a copy of the symbolic link.
src/extract.c
This page took 0.023735 seconds and 4 git commands to generate.