Revert change.

This commit is contained in:
carl 2019-03-25 01:41:04 +08:00
parent efecff78b9
commit 41fd51eeea

View file

@ -244,7 +244,7 @@ archive(void) {
fseek(input,offset,0); fseek(input,offset,0);
archsize = header.ar_size; archsize = header.ar_size;
// TODO: To check if this is correct. // TODO: To check if this is correct.
header.ar_name[AR_NAME_MAX-1] = '\0'; header.ar_name[AR_NAME_MAX] = '\0';
parse(remember(header.ar_name)); parse(remember(header.ar_name));
} }
offset += header.ar_size; offset += header.ar_size;