summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
237ce71)
@@ -4,9 +4,12 @@
+ * Fix bogus multiple updates to p in transmit.c (!)
+ * Fix up spurious #undef's in hredirect.h.
(and there doesn't seem to be much explanation why).
+ * #include <stdlib.h> in internal.h (for abort etc).
* Do not spin if connect() fails immediately (!)
* Stop searching on a CNAME (even if it's broken).
* When search list runs out, _qf_owner sets owner to query domain.
* Do not spin if connect() fails immediately (!)
* Stop searching on a CNAME (even if it's broken).
* When search list runs out, _qf_owner sets owner to query domain.
+ * Fix bogus multiple updates to p in transmit.c (!)
+ * Fix up spurious #undef's in hredirect.h.
* Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
(and there doesn't seem to be much explanation why).
* Understand and sort of check OpenBSD `lookup' resolv.conf directive.
* Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
(and there doesn't seem to be much explanation why).
* Understand and sort of check OpenBSD `lookup' resolv.conf directive.
+ * #include <stdlib.h> in internal.h (for abort etc).
* Always #include <sys/types.h> before <sys/socket.h> (for FreeBSD 4.6).
* Added wishlist entry re configurable port no.
* Problem with SERVFAIL in TODO.
* Always #include <sys/types.h> before <sys/socket.h> (for FreeBSD 4.6).
* Added wishlist entry re configurable port no.
* Problem with SERVFAIL in TODO.
#define read Hread
#undef write
#define write Hwrite
#define read Hread
#undef write
#define write Hwrite
#define gettimeofday Hgettimeofday
#define gettimeofday Hgettimeofday
#define exit Hexit
#endif
#define exit Hexit
#endif
hm_create_nothing
m4_define(`hm_syscall', `#undef $1
#define $1 H$1')
hm_create_nothing
m4_define(`hm_syscall', `#undef $1
#define $1 H$1')
-m4_define(`hm_specsyscall',`#undef $1
+m4_define(`hm_specsyscall',`#undef $2
#define $2 H$2')
m4_include(`hsyscalls.i4')
#define $2 H$2')
m4_include(`hsyscalls.i4')
#include <signal.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
#include <errno.h>
#include <string.h>
if (!(flags & adns_qf_quoteok_query)) return adns_s_querydomaininvalid;
if (ctype_digit(p[0])) {
if (ctype_digit(p[1]) && ctype_digit(p[2])) {
if (!(flags & adns_qf_quoteok_query)) return adns_s_querydomaininvalid;
if (ctype_digit(p[0])) {
if (ctype_digit(p[1]) && ctype_digit(p[2])) {
- c= (*p++ - '0')*100 + (*p++ - '0')*10 + (*p++ - '0');
+ c= (*p++ - '0')*100;
+ c += (*p++ - '0')*10;
+ c += (*p++ - '0');
if (c >= 256) return adns_s_querydomaininvalid;
} else {
return adns_s_querydomaininvalid;
if (c >= 256) return adns_s_querydomaininvalid;
} else {
return adns_s_querydomaininvalid;