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 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: b7ec2488ff2f29681fe28691d20fd2c260a9e454
5
+ refs/heads/try: fdf50e84b8e1db5228c7a03699c791066638222b
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
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