Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tar,smemcap: silence compiler warning | Ron Yorston | 2021-08-22 | 1 | -1/+1 |
| | | | | | | | | | gcc 11.2.1 complains that the tar header checksum might overflow the checksum field. It won't and using an unsigned int for the calculation seems to convince the compiler too. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | tar,smemcap: commonalyze checksumming code for tar header | Denys Vlasenko | 2021-08-20 | 1 | -0/+35 |
function old new delta chksum_and_xwrite_tar_header - 99 +99 writeheader 280 199 -81 chksum_and_xwrite 102 - -102 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/1 up/down: 99/-183) Total: -84 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |