Skip to content

Commit 1743b55

Browse files
committed
---
yaml --- r: 46189 b: refs/heads/auto c: 2d2ed07 h: refs/heads/master i: 46187: f8a7fc2 v: v3
1 parent 62a5c40 commit 1743b55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: e58c812f7761228281aaf3140e53cc2e9945760a
17+
refs/heads/auto: 2d2ed075e3c549e8bb1980de26a106de965e51c8

branches/auto/src/libcore/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> Program {
290290

291291
fn read_all(rd: io::Reader) -> ~str {
292292
let buf = io::with_bytes_writer(|wr| {
293-
let mut bytes = [mut 0, ..4096];
293+
let mut bytes = [0, ..4096];
294294
while !rd.eof() {
295295
let nread = rd.read(bytes, bytes.len());
296296
wr.write(bytes.view(0, nread));
@@ -391,7 +391,7 @@ pub fn readclose(fd: c_int) -> ~str {
391391
let file = os::fdopen(fd);
392392
let reader = io::FILE_reader(file, false);
393393
let buf = io::with_bytes_writer(|writer| {
394-
let mut bytes = [mut 0, ..4096];
394+
let mut bytes = [0, ..4096];
395395
while !reader.eof() {
396396
let nread = reader.read(bytes, bytes.len());
397397
writer.write(bytes.view(0, nread));

0 commit comments

Comments
 (0)