Skip to content

Commit 3505f61

Browse files
committed
Make sure to reset BUF for IO types
1 parent c480392 commit 3505f61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/strings.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ incr(io::IOBuffer, b) = 1
9999
setfield!(r, 1, intern(T, (ptr, len)))
100100
end
101101
end
102+
BUF.ptr = 1
102103
r.code |= code
103104
return r
104105
end

0 commit comments

Comments
 (0)