Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the standard stat()/fstat() interfaces, not nonstandard *64(). #4020

Merged
merged 1 commit into from
Jul 18, 2016
Merged

Use the standard stat()/fstat() interfaces, not nonstandard *64(). #4020

merged 1 commit into from
Jul 18, 2016

Commits on Jul 17, 2016

  1. Use the standard stat()/fstat() interfaces, not nonstandard *64().

    Most modern Unix environments use 64-bit off_t by default: OpenBSD,
    FreeBSD, OS X, and Linux libc implementations such as Musl.
    
    glibc is the lone exception; it can default to 32 bits but this is
    configurable by setting _FILE_OFFSET_BITS.
    
    Avoiding the stat64()/fstat64() interfaces is desirable because they
    are nonstandard and not implemented on many systems (including
    OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either
    the default or trivial to set up.
    bentley committed Jul 17, 2016
    Configuration menu
    Copy the full SHA
    5bab621 View commit details
    Browse the repository at this point in the history