File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: edd1a0230eb98d34f711f5857ef1e71029e27819
2
+ refs/heads/master: 8365a79c7cac863343487cd73ffdedb3d2192d07
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ obj FILE_buf_reader(f: os::libc::FILE, must_close: bool) {
71
71
}
72
72
fn tell ( ) -> uint {
73
73
ret os:: libc:: ftell ( f) as uint ;
74
- } drop { if must_close { os : : libc:: fclose ( f) ; } }
74
+ }
75
+ drop { if must_close { os : : libc:: fclose ( f) ; } }
75
76
}
76
77
77
78
@@ -251,7 +252,8 @@ obj FILE_writer(f: os::libc::FILE, must_close: bool) {
251
252
}
252
253
fn tell ( ) -> uint {
253
254
ret os:: libc:: ftell ( f) as uint ;
254
- } drop { if must_close { os : : libc:: fclose ( f) ; } }
255
+ }
256
+ drop { if must_close { os : : libc:: fclose ( f) ; } }
255
257
}
256
258
257
259
obj fd_buf_writer ( fd: int, must_close: bool ) {
@@ -277,7 +279,8 @@ obj fd_buf_writer(fd: int, must_close: bool) {
277
279
fn tell ( ) -> uint {
278
280
log_err "need 64-bit native calls for tell, sorry" ;
279
281
fail;
280
- } drop { if must_close { os : : libc:: close ( fd) ; } }
282
+ }
283
+ drop { if must_close { os : : libc:: close ( fd) ; } }
281
284
}
282
285
283
286
fn file_buf_writer ( path : str , flags : & fileflag [ ] ) -> buf_writer {
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ fn mk_rng() -> rng {
20
20
obj rt_rng ( c: rustrt:: rctx) {
21
21
fn next ( ) -> u32 {
22
22
ret rustrt:: rand_next ( c) ;
23
- } drop { rustrt : : rand_free ( c) ; }
23
+ }
24
+ drop { rustrt : : rand_free ( c) ; }
24
25
}
25
26
ret rt_rng ( rustrt:: rand_new ( ) ) ;
26
27
}
You can’t perform that action at this time.
0 commit comments