More archive file hacking...

This commit is contained in:
Shamus Hammons 2014-12-16 08:49:23 -06:00
parent 20972dfe98
commit ccc8cc33ff
1 changed files with 4 additions and 1 deletions

5
rln.c
View File

@ -2371,7 +2371,10 @@ int DoArchive(char * fname, int fd)
objSize[i] = ptr[48 + i];
}
if (HasDotOSuffix(objName))
// Need to fix this so that the " <number>" files are properly
// expanded to their filenames (seems to be either "//" or
// "ARFILENAMES/")
if ((HasDotOSuffix(objName)) || (strlen(objName) == 0))
{
//printf("Processing object \"%s\" (size == %i, obj_index == %i)...\n", objName, atoi(objSize), obj_index);
strcpy(obj_fname[obj_index], objName);