Commit Graph

11 Commits

Author SHA1 Message Date
Tilman Sauerbeck
e83769cac3 Fixed setting up the flags for archive_read_extract(). 2006-12-02 01:55:52 +01:00
Simone Rota
25efd91b9e preserve owner/permissions when extracting 2006-12-02 01:43:19 +01:00
Tilman Sauerbeck
80db05ef8d Fixed the permission lookup problem for hardlinks.
We now do two runs over the archive, where the first one remembers
permissions for hardlink targets, which are then looked up in the
second run.
2006-11-24 21:59:10 +01:00
Tilman Sauerbeck
7f84e1cc9e Prefer archive_entry_mode() over archive_entry_stat().
If we're only interested in the mode, just call archive_entry_mode()
instead of getting the whole stat struct.
2006-11-24 21:42:59 +01:00
Tilman Sauerbeck
fa6b0879f2 Some indentation fixes. 2006-11-15 20:34:33 +01:00
Tilman Sauerbeck
25f9975ca5 Use archive_errno() instead of errno for libarchive errors. 2006-11-15 20:34:22 +01:00
Matthias-Christian Ott
c3434674df Switched from libtar to libarchive. 2006-11-15 20:32:56 +01:00
Tilman Sauerbeck
2213199529 tell the user when we didn't install a file because an INSTALL rule kicked in 2006-08-27 12:12:21 +02:00
Tilman Sauerbeck
3e5b7ed9bb added support for INSTALL rules. based on a patch by johannes. documentation needs to be updated. 2006-08-25 12:54:15 +02:00
Tilman Sauerbeck
5401bd4576 use the proper sentinel in the execl() call 2006-04-14 10:06:11 +02:00
Simone Rota
9ac667e68d Initial import 2005-11-11 23:40:48 +01:00