Can't get php5 to build on machines that have php4 or have had
php4
Bjoern Koenig
bkoenig at cs.tu-berlin.de
Mon May 23 06:54:09 PDT 2005
I'm sorry. I sent you a malicious patch. This is the correct one.
Björn
-------------- next part --------------
--- ext/standard/dns.c.bak Mon May 23 14:32:16 2005
+++ ext/standard/dns.c Mon May 23 14:33:18 2005
@@ -627,17 +627,17 @@
break;
}
if (type_to_fetch) {
- res_ninit(&res);
+ __res_ninit(&res);
res.retrans = 5;
res.options &= ~RES_DEFNAMES;
- n = res_nmkquery(&res, QUERY, Z_STRVAL_P(host), C_IN, type_to_fetch, NULL, 0, NULL, buf.qb2, sizeof buf);
+ n = __res_nmkquery(&res, QUERY, Z_STRVAL_P(host), C_IN, type_to_fetch, NULL, 0, NULL, buf.qb2, sizeof buf);
if (n<0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "res_nmkquery() failed");
zval_dtor(return_value);
RETURN_FALSE;
}
- n = res_nsend(&res, buf.qb2, n, answer.qb2, sizeof answer);
+ n = __res_nsend(&res, buf.qb2, n, answer.qb2, sizeof answer);
if (n<0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "res_nsend() failed");
zval_dtor(return_value);
@@ -673,7 +673,7 @@
add_next_index_zval(return_value, retval);
}
}
- res_nclose(&res);
+ __res_nclose(&res);
}
}
More information about the freebsd-ports
mailing list