[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.28 and 1.29

version 1.28, 2014/01/08 22:58:50 version 1.29, 2014/09/16 01:29:48
Line 499  __res_vinit(res_state statp, int preinit
Line 499  __res_vinit(res_state statp, int preinit
 #ifdef RESOLVSORT  #ifdef RESOLVSORT
             statp->nsort = nsort;              statp->nsort = nsort;
 #endif  #endif
             statp->_u._ext.ext->resfd = dup(fileno(fp));              statp->_u._ext.ext->resfd = fcntl(fileno(fp), F_DUPFD_CLOEXEC);
             (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.28  
changed lines
  Added in v.1.29

CVSweb <webmaster@jp.NetBSD.org>