Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -262,10 +262,10 @@ public DynamicObject memset(DynamicObject pointer, int c, long length) {
@CoreMethod(names = "mkfifo", isModuleFunction = true, required = 2, unsafe = UnsafeGroup.IO)
public abstract static class MkfifoNode extends CoreMethodArrayArgumentsNode {

@CompilerDirectives.TruffleBoundary
@TruffleBoundary
@Specialization(guards = "isRubyString(path)")
public int mkfifo(DynamicObject path, int mode) {
return posix().mkfifo(path.toString(), mode);
return posix().mkfifo(StringOperations.getString(path), mode);
}

}

0 comments on commit 67965d5

Please sign in to comment.