Skip to content

Commit

Permalink
fix write_base_cache to be consistend with the reader byte order (Jul…
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and JeffBezanson committed Mar 22, 2018
1 parent 274f0a2 commit d88f3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/write_base_cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cachefile = ARGS[1]
open(cachefile, "w") do io
for (_, filename) in Base._included_files
src = read(filename, String)
write(io, hton(Int32(sizeof(filename))))
write(io, Int32(sizeof(filename)))
write(io, filename)
write(io, hton(UInt64(sizeof(src))))
write(io, UInt64(sizeof(src)))
write(io, src)
end
write(io, Int32(0))
Expand Down

0 comments on commit d88f3be

Please sign in to comment.