File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b7ec2488ff2f29681fe28691d20fd2c260a9e454
2
+ refs/heads/master: fdf50e84b8e1db5228c7a03699c791066638222b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -121,10 +121,7 @@ Indicates whether a path represents a directory.
121
121
*/
122
122
fn path_is_dir ( p : path ) -> bool {
123
123
ret str:: as_buf ( p, { |buf|
124
- // FIXME: instead of 0i32, ctypes::c_int
125
- // should be used here. but it triggers
126
- // a segv fault. Issue 1558
127
- rustrt:: rust_path_is_dir ( buf) != 0i32
124
+ rustrt:: rust_path_is_dir ( buf) != 0 as ctypes:: c_int
128
125
} ) ;
129
126
}
130
127
You can’t perform that action at this time.
0 commit comments