it.it_interval.tv_sec=0;
it.it_interval.tv_usec=0;
+ signal(SIGVTALRM, alarmHandler);
setitimer(ITIMER_VIRTUAL, &it, 0);
-
-
+
unsigned int runs=0;
g_stop=false;
DTime dt;
}
negindic=true;
}
- else if(i->d_place==DNSResourceRecord::ANSWER && iequals(i->qname, qname) && i->qtype.getCode()==QType::CNAME && (!(qtype==QType(QType::CNAME)))) {
+ else if(i->d_place==DNSResourceRecord::ANSWER && pdns_iequals(i->qname, qname) && i->qtype.getCode()==QType::CNAME && (!(qtype==QType(QType::CNAME)))) {
ret.push_back(*i);
newtarget=i->content;
}
void operator()() const
{
static string a("www.ds9a.nl"), b("www.lwn.net");
- bool ret = iequals(a, b);
+ bool ret = boost::iequals(a, b);
}
};
try
{
reportAllTypes();
- signal(SIGVTALRM, alarmHandler);
-
doRun(NOPTest());
-
+
doRun(IEqualsTest());
doRun(MyIEqualsTest());
doRun(StrcasecmpTest());