Skip to content

Commit

Permalink
Fixed internal cache writer: Write correct size for files with multip…
Browse files Browse the repository at this point in the history
…le hard links (part of GitHub issue #124)
  • Loading branch information
shundhammer committed Mar 6, 2020
1 parent 804190c commit 9dd0ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DirTreeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void CacheWriter::writeItem( gzFile cache, FileInfo * item )

// Write size

gzprintf( cache, "\t%s", formatSize( item->size() ).toUtf8().data() );
gzprintf( cache, "\t%s", formatSize( item->byteSize() ).toUtf8().data() );


// Write mtime
Expand Down

0 comments on commit 9dd0ea6

Please sign in to comment.