diff options
author | Manuel Menal <mmenal@hurdfr.org> | 2010-09-20 20:48:05 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-09-20 20:54:15 +0000 |
commit | 7fc534e167e8ebf3e7267fca5db7e34c9bc15538 (patch) | |
tree | 5fb72845589f1cbedfce403f0009aa97ff6c30fe /tarfs.h | |
parent | 34da65652018854e2de8351b6040f1f9c242a7d4 (diff) |
Make tarfs actually work again
* tar.c: Import newer mc snapshot.
(strconcat): New function.
(tar_header_hook): Replace `off_t' parameter of function type with
`struct archive *'.
(tar_get_next_record): Initialize `buf' to NULL and n to 0 before calling
`store_read'.
* tar.c: Import newer mc snapshot.
(struct archive): New structure.
* tarfs.c (tar_header_hook): Replace `off_t' parameter of function type with
`struct archive *'.
(tarfs_add_header): Likewise. Pass `archive->current_tar_position'
instead of `offset' to `tar_make_item'. Call `tar_fill_stat' instead of
`tar_header2stat'.
Diffstat (limited to 'tarfs.h')
0 files changed, 0 insertions, 0 deletions