about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-12 08:11:46 -0800
committerbors <bors@rust-lang.org>2014-02-12 08:11:46 -0800
commit1d5c52d8a1d9cc5750aadfbb707584466083ef47 (patch)
tree654b8b58f223975b36650cb8e873462f607ac869 /src/rustllvm/ExecutionEngineWrapper.cpp
parentd394a48e731453528b3e77a171cce43084d1f73f (diff)
parent1b6a1e98a887d0c698db09d521bc68bc3a47207d (diff)
downloadrust-1d5c52d8a1d9cc5750aadfbb707584466083ef47.tar.gz
rust-1d5c52d8a1d9cc5750aadfbb707584466083ef47.zip
auto merge of #12204 : alexcrichton/rust/seek, r=pcwalton
This adopts the rules posted in #10432:

1. If a seek position is negative, then an error is generated
2. Seeks beyond the end-of-file are allowed. Future writes will fill the gap
   with data and future reads will return errors.
3. Seeks within the bounds of a file are fine.

Closes #10432
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions