Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -221,7 +221,7 @@ public int readlink(RubyString path, RubyBasicObject pointer, int bufsize) {
throw new RaiseException(getContext().getCoreLibrary().errnoError(posix().errno(), this));
}
for (int n = 0; n < buffer.length; n++) {
UnsafeHolder.U.putInt(address + n * Unsafe.ARRAY_BYTE_INDEX_SCALE, buffer[n]);
UnsafeHolder.U.putByte(address + n * Unsafe.ARRAY_BYTE_INDEX_SCALE, buffer[n]);
}
return result;
}

0 comments on commit 8b700b6

Please sign in to comment.