-adns (0.8) BETA; urgency=low
+uadns (0.8) BETA; urgency=low
* Spurious `server failure on unidentifiable query' warning suppressed.
* install-sh (from autoconf 2.12 Debian r13) included.
@@ -7,6 +7,7 @@
* Documented that adns_rr_info _rr_hostaddr ( ) for address list
means permanent failure, and ? means temporary failure.
* Typo (*now for now in _beforeselect description) in adns.h fixed.
+ * In _beforeselect, global system failure now produces zero timeout.
--
-adns (0.8) BETA; urgency=low
+uadns (0.8) BETA; urgency=low
* Spurious `server failure on unidentifiable query' warning suppressed.
* install-sh (from autoconf 2.12 Debian r13) included.
* Spurious `server failure on unidentifiable query' warning suppressed.
* install-sh (from autoconf 2.12 Debian r13) included.
* Documented that adns_rr_info _rr_hostaddr ( ) for address list
means permanent failure, and ? means temporary failure.
* Typo (*now for now in _beforeselect description) in adns.h fixed.
* Documented that adns_rr_info _rr_hostaddr ( ) for address list
means permanent failure, and ? means temporary failure.
* Typo (*now for now in _beforeselect description) in adns.h fixed.
+ * In _beforeselect, global system failure now produces zero timeout.
if (tv_mod && (!*tv_mod || (*tv_mod)->tv_sec || (*tv_mod)->tv_usec)) {
/* The caller is planning to sleep. */
adns__must_gettimeofday(ads,&now,&tv_nowbuf);
if (tv_mod && (!*tv_mod || (*tv_mod)->tv_sec || (*tv_mod)->tv_usec)) {
/* The caller is planning to sleep. */
adns__must_gettimeofday(ads,&now,&tv_nowbuf);
+ if (!now) { inter_immed(tv_mod,tv_iobuf); goto xit; }
adns__timeouts(ads, 1, tv_mod,tv_tobuf, *now);
}
adns__timeouts(ads, 1, tv_mod,tv_tobuf, *now);
}
void **context_r) {
int r, maxfd, rsel;
fd_set readfds, writefds, exceptfds;
void **context_r) {
int r, maxfd, rsel;
fd_set readfds, writefds, exceptfds;
- struct timeval tvbuf, *tvp;
+ struct timeval *now, nowbuf, tvbuf, *tvp;
adns__consistency(ads,*query_io,cc_entex);
for (;;) {
adns__consistency(ads,*query_io,cc_entex);
for (;;) {