Skip to content

_osmajor checks should be removed #10

Open
@stsp

Description

There are a couple of cases, most
notably in sys/vfs/statfs.c, where
the libc checks if( 7 <= _osmajor && _osmajor < 10 )
and uses an extended functionality,
falling back to the basic functionality
otherwise.
The extended functionality block is
however properly implemented: it
falls back to the basic functionality
anyway, if the extended functions
failed.
There are many DOS clones around,
for which this check fails. Since the
code have the proper fallbacks anyway,
the _osmajor checks should be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions