Package: coreutils
Version: 6.10~20070907-3
Severity: wishlist
Please guard your who-ips extension so that it at least can be built
on systems without IPv6. I successfully used the patch below, but it
may unnecessarily remove too much.
Martin
--- coreutils-6.10~20070907/src/who.c.orig Sat Sep 15 23:02:44 2007
+++ coreutils-6.10~20070907/src/who.c Sat Sep 15 23:38:16 2007
@@ -424,6 +424,7 @@
}
#endif
+#if HAVE_IPV6
/* Needs configure check for ut_addr_v6, etc */
if (do_ips &&
memcmp(utmp_ent->ut_addr_v6,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16))
@@ -474,6 +475,7 @@
getnameinfo(sa, salen, hoststr, 256, NULL, 0, flags);
}
+#endif
print_line (sizeof UT_USER (utmp_ent), UT_USER (utmp_ent), mesg,
sizeof utmp_ent->ut_line, utmp_ent->ut_line,
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]