• MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    There was some discussion that readdir() in MorphOS libnix would be in error due to not returning "d_type" correctly. However, returning DT_UNKNOWN is valid and according to POSIX specification.

    Here's a proposed fix to the protrekkr code (which is probably very similar to what was done already anyway):
    https://github.com/hitchhikr/protrekkr/pull/9

    I've now also implemented returning "d_type" to libnix readdir(). This new libnix version will be released as part of the next SDK release.
  • »11.09.22 - 15:48
    Profile