summaryrefslogtreecommitdiff
path: root/tar.h
AgeCommit message (Collapse)Author
2010-09-20Make tarfs actually work againManuel Menal
* 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'.
2003-01-31Initial commit of a libnetfs-based tarfs including a gzip/bzip2 store.Ludovic Courtès