More string pool use
git-svn-id: svn://svn.cc65.org/cc65/trunk@2198 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -60,16 +60,16 @@ static FileInfo* NewFileInfo (void)
|
||||
|
||||
|
||||
|
||||
FileInfo* ReadFileInfo (FILE* F, ObjData* O attribute ((unused)))
|
||||
FileInfo* ReadFileInfo (FILE* F, ObjData* O attribute ((unused)))
|
||||
/* Read a file info from a file and return it */
|
||||
{
|
||||
/* Allocate a new FileInfo structure */
|
||||
FileInfo* FI = NewFileInfo ();
|
||||
|
||||
/* Read the fields from the file */
|
||||
FI->Name = ReadVar (F);
|
||||
FI->MTime = Read32 (F);
|
||||
FI->Size = Read32 (F);
|
||||
FI->Name = ReadStr (F);
|
||||
|
||||
/* Return the new struct */
|
||||
return FI;
|
||||
|
||||
Reference in New Issue
Block a user