diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-11 18:35:54 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-01-11 18:35:54 +0900 |
| commit | e0ea88ebcf71674ab4f56ae542f0f556cd1f434d (patch) | |
| tree | 486f43cceb86527e6056c252f5b733b6cb8bbcaa /src/TruncFileAllocationIterator.cc | |
| parent | 357e4b1a77132705432345e0f54ec50ab07a73ab (diff) | |
mingw32: Make NTFS sparse file on --file-allocation=trunc
Diffstat (limited to 'src/TruncFileAllocationIterator.cc')
| -rw-r--r-- | src/TruncFileAllocationIterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TruncFileAllocationIterator.cc b/src/TruncFileAllocationIterator.cc index e79467e4..212ae651 100644 --- a/src/TruncFileAllocationIterator.cc +++ b/src/TruncFileAllocationIterator.cc @@ -46,7 +46,7 @@ TruncFileAllocationIterator::TruncFileAllocationIterator void TruncFileAllocationIterator::allocateChunk() { - stream_->truncate(totalLength_); + stream_->allocate(0, totalLength_, true); offset_ = totalLength_; } |
