Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-16 | cleanup: move error handling into read_retry | David Oberhollenzer | |
If read_retry fails to read the expected amount of data (EOF or otherwise), it is almost always an error. This commit renames read_retry to read_data and moves error handling into the function, making a lot of error handling code redundant. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2019-07-01 | cleanup: split tar code up, remove some duplications | David Oberhollenzer | |
This commit attempts to split some of the monolitic tar parsing code up into multiple functions in seperate files. Also, some code duplication (like reading a record into memory which was implemented twice) is removed. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> |