Mail Archives: djgpp-workers/1996/08/26/19:22:57
> Adding d_ino is incompatible with existing libraries, though :-(.
And any program that relies on it is not POSIX compliant.
> Are there any other incompatible changes for 2.01 yet ?
No.
> from ezmake-1.1/glob.c:
>
> #if defined (_POSIX_SOURCE)
> /* Posix does not require that the d_ino field be present, and some
> systems do not provide it. */
> #define REAL_DIR_ENTRY(dp) 1
> #else
> #define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
> #endif /* _POSIX_SOURCE */
Thus, you must define _POSIX_SOURCE for this program.
- Raw text -