diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-08-21 10:29:51 -0700 |
|---|---|---|
| committer | Jeff Olson <olson.jeffery@gmail.com> | 2013-08-22 16:31:58 -0700 |
| commit | c3a819b01c4993585ea38c9fbb5dadc6c59bbe05 (patch) | |
| tree | 8869ae4b9181a97c9398007008913cf1d2cbd138 /src/libstd/rt | |
| parent | a7ee85b50b8c4b58dfb8640692d3b63f8b604b28 (diff) | |
| download | rust-c3a819b01c4993585ea38c9fbb5dadc6c59bbe05.tar.gz rust-c3a819b01c4993585ea38c9fbb5dadc6c59bbe05.zip | |
std: writing to stdout only works when using -1 offset..
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/uv/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index 056250ba968..15fecc19884 100644 --- a/src/libstd/rt/uv/file.rs +++ b/src/libstd/rt/uv/file.rs @@ -416,7 +416,7 @@ mod test { let stdout = FileDescriptor(STDOUT_FILENO); let write_val = input.as_bytes(); let write_buf = slice_to_uv_buf(write_val); - stdout.write_sync(loop_, write_buf, 0); + stdout.write_sync(loop_, write_buf, -1); } #[test] |
