legacy readdir_r must DIE

Issue #47 resolved
Garrett D'Amore repo owner created an issue

The legacy (draft mode) readdir_r is left behind for compatibility with applications written before the 1995 specification (POSIX.1b) was completed. The draft mode interface has a different number of arguments.

Stupidly, this is enabled by default if _REENTRANT is supplied, but _POSIX_PTHREAD_SEMANTICS is not.

But only on 32-bit mode compiles. 64-bit mode programs get a different (newer, mo' bettah) interface.

Its time to kill off the legacy interface. Sadly, we probably need to keep the symbol around for runtimes, since there are probably programs that were built with this symbol.

Comments (1)

  1. Log in to comment