Save a few bytes when writing file list entries to the object file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4929 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
b2b1edc4ab
commit
713c019a24
2 changed files with 3 additions and 3 deletions
|
@ -265,7 +265,7 @@ void WriteFiles (void)
|
||||||
/* Write the fields */
|
/* Write the fields */
|
||||||
ObjWriteVar (F->Name);
|
ObjWriteVar (F->Name);
|
||||||
ObjWrite32 (F->MTime);
|
ObjWrite32 (F->MTime);
|
||||||
ObjWrite32 (F->Size);
|
ObjWriteVar (F->Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Done writing files */
|
/* Done writing files */
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 2001-2010, Ullrich von Bassewitz */
|
/* (C) 2001-2011, Ullrich von Bassewitz */
|
||||||
/* Roemerstrasse 52 */
|
/* Roemerstrasse 52 */
|
||||||
/* D-70794 Filderstadt */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
|
@ -75,7 +75,7 @@ FileInfo* ReadFileInfo (FILE* F, ObjData* O)
|
||||||
/* Read the fields from the file */
|
/* Read the fields from the file */
|
||||||
FI->Name = MakeGlobalStringId (O, ReadVar (F));
|
FI->Name = MakeGlobalStringId (O, ReadVar (F));
|
||||||
FI->MTime = Read32 (F);
|
FI->MTime = Read32 (F);
|
||||||
FI->Size = Read32 (F);
|
FI->Size = ReadVar (F);
|
||||||
|
|
||||||
/* Return the new struct */
|
/* Return the new struct */
|
||||||
return FI;
|
return FI;
|
||||||
|
|
Loading…
Add table
Reference in a new issue