[BACK]Return to res_init.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / resolv

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/resolv/res_init.c between version 1.30 and 1.31

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 =

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

CVSweb <webmaster@jp.NetBSD.org>