Skip to content

Commit d88f3be

Browse files
KristofferCJeffBezanson
authored andcommitted
fix write_base_cache to be consistend with the reader byte order (#26569)
1 parent 274f0a2 commit d88f3be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/write_base_cache.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ cachefile = ARGS[1]
33
open(cachefile, "w") do io
44
for (_, filename) in Base._included_files
55
src = read(filename, String)
6-
write(io, hton(Int32(sizeof(filename))))
6+
write(io, Int32(sizeof(filename)))
77
write(io, filename)
8-
write(io, hton(UInt64(sizeof(src))))
8+
write(io, UInt64(sizeof(src)))
99
write(io, src)
1010
end
1111
write(io, Int32(0))

0 commit comments

Comments
 (0)