Open
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.
Metadata
Assignees
Labels
No labels
Activity