about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-11 20:13:46 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-11 20:18:34 -0800
commit1b6a1e98a887d0c698db09d521bc68bc3a47207d (patch)
tree89c938ee16389f8c05cf7aa0a39a9b964c98ce44 /src/rustllvm/ExecutionEngineWrapper.cpp
parent4c967e70414cad67e4cd28a9fd2cc267ccf85da9 (diff)
downloadrust-1b6a1e98a887d0c698db09d521bc68bc3a47207d.tar.gz
rust-1b6a1e98a887d0c698db09d521bc68bc3a47207d.zip
Finalize the Seek API
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