[PATCH] Deprecate 32-bit off_t support

Joseph Myers joseph@codesourcery.com
Mon Jan 7 22:17:00 GMT 2019


On Mon, 7 Jan 2019, Florian Weimer wrote:

> * Szabolcs Nagy:
> 
> > please do not recommend the use of a non-standard type
> > in place of a standard one (off64_t is not even available
> > with default feature test macros in posix headers).
> 
> What do you propose instead?  Mention int64_t and uint64_t only?

Programs and libraries should use types such as off_t, and arrange to be 
built with _FILE_OFFSET_BITS=64, which would make them unaffected by a 
future change to the default.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list