Permalink
Browse files

Fixed a bug in the shadow file creation.

  • Loading branch information...
1 parent e59d9be commit b32ba62b126c6cc102ae171ebc7607bb45479554 @drolbr committed Sep 9, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/template_db/dispatcher.cc
@@ -582,7 +582,10 @@ void write_to_index_empty_file_ids(const std::vector< bool >& footprint, const s
}
}
if (last_start < footprint.size())
+ {
*pos = std::make_pair(footprint.size() - last_start, last_start);
+ ++pos;
+ }
Raw_File file(filename, O_RDWR|O_CREAT|O_TRUNC,
S_666, "write_to_index_empty_file_ids:1");

0 comments on commit b32ba62

Please sign in to comment.