[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-D_XOPEN_SOURCE
From: |
Brent A. Fulgham |
Subject: |
-D_XOPEN_SOURCE |
Date: |
Tue, 24 Jul 2001 12:41:29 -0700 |
User-agent: |
Mutt/1.3.18i |
The Hurd header files do not seem to accurately duplicate the behavior
of Linux when the "-D_XOPEN_SOURCE=500" compiler flag is used.
You can observe this when compiling that patch program (patch version
2.5.4), which for some reason was built under Debian with the XOPEN
flag defined.
Ordinarily, the "d_fileno" member of the dirent structure is aliased
as "d_ino" and patch will compile. But if XOPEN_SOURCE is set to
500, this does not happen and the compile fails.
Does anyone know what the proper behavior is? Does the XOPEN
specification require a "real" "d_ino" to be present in dirent?
Or, should setting XOPEN_SOURCE=500 simply not prevent the #define
of d_ino to be an alias for d_ino?
Thanks,
-Brent
- -D_XOPEN_SOURCE,
Brent A. Fulgham <=