lua-users home
lua-l archive

Lua 5.3: file:seek() and files larger than 2 GB

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


*file:seek("end")* returns -1 if the file is more than 2,147,483,647 bytes.
*file:seek("set", offset)* return "not an integer in proper range" if *offset* > 2,147,483,647

This happens regardless of the 32/64 bit compiler. Maybe there is some *define* when compiling?

AltStyle によって変換されたページ (->オリジナル) /