- changed status to resolved
legacy readdir_r must DIE
Issue #47
resolved
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)
-
reporter - Log in to comment
fixes
#47legacy readdir_r must DIE fixes#51create _SUNOS_SOURCE macro→ <<cset 04b70aafc0b5>>