Skip to content

Commit b15dbe5

Browse files
committed
---
yaml --- r: 11068 b: refs/heads/master c: fdf50e8 h: refs/heads/master v: v3
1 parent 2fab6e4 commit b15dbe5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b7ec2488ff2f29681fe28691d20fd2c260a9e454
2+
refs/heads/master: fdf50e84b8e1db5228c7a03699c791066638222b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libstd/fs.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@ Indicates whether a path represents a directory.
121121
*/
122122
fn path_is_dir(p: path) -> bool {
123123
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
128125
});
129126
}
130127

0 commit comments

Comments
 (0)