[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.27 and 1.28

version 1.27, 2013/12/09 09:35:16 version 1.28, 2014/01/08 22:58:50
Line 162  static uint32_t net_mask(struct in_addr)
Line 162  static uint32_t net_mask(struct in_addr)
 static struct timespec __res_conf_time;  static struct timespec __res_conf_time;
 static const struct timespec ts = { 0, 0 };  static const struct timespec ts = { 0, 0 };
   
   const char *__res_conf_name = _PATH_RESCONF;
   
 /*  /*
  * Resolver state default settings.   * Resolver state default settings.
  */   */
Line 346  __res_vinit(res_state statp, int preinit
Line 348  __res_vinit(res_state statp, int preinit
          line[sizeof(name) - 1] == '\t'))           line[sizeof(name) - 1] == '\t'))
   
         nserv = 0;          nserv = 0;
         if ((fp = fopen(_PATH_RESCONF, "re")) != NULL) {          if ((fp = fopen(__res_conf_name, "re")) != NULL) {
             struct stat st;              struct stat st;
             struct kevent kc;              struct kevent kc;
   

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

CVSweb <webmaster@jp.NetBSD.org>