Brian E. Seppanen wrote:
This will compile 2.1.19p1 for me and operate seemingly normally at
least using cfagent -pvf. More testing before I can deploy.
I don't understand why CF_IFREQ wouldn't work? Can anyone help me
understand what is causing the problem.
--- nameinfo.c 2006-02-17 13:58:34.000000000 -0600
+++ nameinfo.c.bes 2006-03-22 09:22:27.000000000 -0600
@@ -303,7 +303,7 @@
void GetInterfaceInfo(void)
{ int fd,len,i,j;
- struct ifreq ifbuf[CF_IFREQ],ifr, *ifp;
+ struct ifreq ifbuf[512],ifr, *ifp;
struct ifconf list;
struct sockaddr_in *sin;
struct hostent *hp;
Brian Seppanen
608.826.1464
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine
This is very odd. Well spotted! One possibility os that some of the
items that use CF_IFREQ are themselves macros on the affected systems.
But this is linux, right? How could it be any different to linux on
any other system? Could it be a compiler bug? The compiler is quite new...
M
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine