[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Brent A. Fulgham
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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]