version 1.30, 2015/02/24 17:56:20 |
version 1.31, 2017/04/19 22:21:07 |
Line 495 __res_vinit(res_state statp, int preinit |
|
Line 495 __res_vinit(res_state statp, int preinit |
|
#ifdef RESOLVSORT |
#ifdef RESOLVSORT |
statp->nsort = nsort; |
statp->nsort = nsort; |
#endif |
#endif |
statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC); |
statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC, 0); |
(void) fclose(fp); |
(void) fclose(fp); |
if (fstat(statp->_u._ext.ext->resfd, &st) != -1) |
if (fstat(statp->_u._ext.ext->resfd, &st) != -1) |
__res_conf_time = statp->_u._ext.ext->res_conf_time = |
__res_conf_time = statp->_u._ext.ext->res_conf_time = |