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

Fix filehandle corruption on LP64 #345

Merged
merged 2 commits into from
Mar 25, 2022

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    3104e6f View commit details
    Browse the repository at this point in the history
  2. Fix filehandle corruption on LP64

    Do not take for granted that __WORDSIZE is defined to distinguish
    between 32 and 64 bit platforms. If undefined on LP64 machine,
    STRUCT_TO_FILEHANDLE corrupts the filehande.
    
    Instead use ULONG_MAX from <limits.h> which is mandated by ISO C99.
    manu0401 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    d33ed59 View commit details
    Browse the repository at this point in the history