(read_header): Removed assignment to oldgnu_header.isextended. It was breaking append mode.

This commit is contained in:
Sergey Poznyakoff
2005-02-10 22:51:21 +00:00
parent b480196651
commit 6e63133691

View File

@@ -465,11 +465,6 @@ read_header (bool raw_extended_headers)
np[sizeof h->prefix] = '\0';
np += strlen (np);
*np++ = '/';
/* Prevent later references to current_header from
mistakenly treating this as an old GNU header.
This assignment invalidates h->prefix. */
current_header->oldgnu_header.isextended = 0;
}
memcpy (np, h->name, sizeof h->name);
np[sizeof h->name] = '\0';