Allow reading of member names that begin with an _ character.

llvm-svn: 18179
This commit is contained in:
Reid Spencer 2004-11-23 22:35:39 +00:00
parent c7eeae4661
commit a193f3cdbf
1 changed files with 2 additions and 1 deletions

View File

@ -157,8 +157,9 @@ Archive::parseMemberHeader(const char*& At, const char* End) {
(0 == memcmp(Hdr->name, ARFILE_BSD4_SYMTAB_NAME, 16))) {
pathname.assign(ARFILE_BSD4_SYMTAB_NAME);
flags |= ArchiveMember::BSD4SymbolTableFlag;
}
break;
}
/* FALL THROUGH */
default:
char* slash = (char*) memchr(Hdr->name, '/', 16);