Changeset 24fda5e in mainline for uspace/lib/untar/tar.c
- Timestamp:
- 2018-06-05T16:05:16Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18ad56a8, 8404342
- Parents:
- 04051b8e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/untar/tar.c
r04051b8e r24fda5e 27 27 */ 28 28 29 /** @addtogroup untar29 /** @addtogroup libuntar 30 30 * @{ 31 31 */ … … 38 38 #include <errno.h> 39 39 #include <assert.h> 40 41 #include "tar.h" 40 #include "private/tar.h" 42 41 43 42 tar_type_t tar_type_parse(const char type) … … 71 70 errno_t tar_header_parse(tar_header_t *parsed, const tar_header_raw_t *raw) 72 71 { 73 errno_t rc;74 75 72 if (str_length(raw->filename) == 0) { 76 73 return EEMPTY; … … 78 75 79 76 size_t size; 80 rc = str_size_t(raw->size, NULL, 8, true, &size);77 errno_t rc = str_size_t(raw->size, NULL, 8, true, &size); 81 78 if (rc != EOK) { 82 79 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.