1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-02 15:29:33 +00:00

Files in the file tables have their names in the string pool

git-svn-id: svn://svn.cc65.org/cc65/trunk@2623 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-11-08 23:20:49 +00:00
parent 87d3f32be1
commit 587b807921

View File

@ -380,9 +380,9 @@ void DumpObjFiles (FILE* F, unsigned long Offset)
for (I = 0; I < Count; ++I) {
/* Read the data for one file */
const char* Name = GetString (&StrPool, ReadVar (F));
unsigned long MTime = Read32 (F);
unsigned long Size = Read32 (F);
char* Name = ReadStr (F);
unsigned Len = strlen (Name);
/* Print the header */
@ -392,9 +392,6 @@ void DumpObjFiles (FILE* F, unsigned long Offset)
printf (" Name:%*s\"%s\"\n", 24-Len, "", Name);
printf (" Size:%26lu\n", Size);
printf (" Modification time:%13lu (%s)\n", MTime, TimeToStr (MTime));
/* Free the Name */
xfree (Name);
}
/* Destroy the string pool */