On 06/05/12 22:01, Dominic Hargreaves wrote:
On Sun, May 06, 2012 at 05:26:45PM +0200, Robert Millan wrote:
2012/5/6 Steven Chamberlain<ste...@pyro.eu.org>:
It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc,
with a sockaddr_un different to FreeBSD's, so the test should rather be:
# if defined(__linux__) || defined(__GLIBC__)
Note that this is true for the declaration (which is matters here
AFAICT) but it's not for the actual structure, see #645527.
As for GNU/Hurd, my guess is that it doesn't have that header at all and
skips the entire #ifdef I_SYS_UN block. So it shouldn't need to be
considered here.
Actually ISTR GNU/Hurd had zero-length sun_path too. CCing debian-hurd...
Good point. The test does fail on hurd-i386 too.
Dominic.
It's not really an issue on Hurd as it is more of an OS limitation than
a bug.
http://lists.gnu.org/archive/html/bug-hurd/2011-12/msg00000.html
--
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa6ecb1.4020...@periapt.co.uk