summaryrefslogtreecommitdiff
path: root/tar.c
AgeCommit message (Collapse)Author
2013-11-10Fix reading tar contentCyril Roelandt
* tar.c (tar_get_next_record): Allocate a buffer.
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'.
2006-03-08Fixed value of `st_blocks' (Ben Asselstine).Ludovic Courtès
2006-03-08Applied patch from Ben Asselstine; passes `ustar-all-quickest.tar' now.Ludovic Courtès
2003-01-31Initial commit of a libnetfs-based tarfs including a gzip/bzip2 store.Ludovic Courtès