New interfaces.c hangs on OS X
Gerald (Jerry) Carter
jerry at samba.org
Tue Oct 16 15:30:07 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeremy,
The new interfaces.c code hangs during configure on OS X at
checking for iface AIX...
The problem is this block of code starting at line 394:
while (i > 0 && total < max_interfaces) {
....
if (ifaces[total].flags & IFF_BROADCAST) {
if (ioctl(fd, SIOCGIFBRDADDR, &ifr[i]) != 0) {
continue;
}
memcpy(&ifaces[total].bcast, &ifr[i].ifr_broadaddr,
sizeof(struct sockaddr_in));
} else if (ifaces[total].flags & IFF_POINTOPOINT) {
if (ioctl(fd, SIOCGIFDSTADDR, &ifr[i]) != 0) {
continue;
}
memcpy(&ifaces[total].bcast, &ifr[i].ifr_dstaddr,
sizeof(struct sockaddr_in));
} else {
continue;
}
total++;
}
James, Does this test complete for you? I'm seeing the hang on
OS X 10.4.
My question is why are we forcing this run by setting HAVE_IFACE_AIX
when we know we're not on AIX?
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHFNj/IR7qMdg1EfYRAuUTAJ9Fi1HjKX9JMqN4pq/UwsXF7rU/rwCfY6sm
HGDG6kRGkYWQNZnk4EogqUw=
=V7Gk
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list