[BACK]Return to main.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / make

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

Diff for /src/usr.bin/make/main.c between version 1.373 and 1.374

version 1.373, 2020/10/18 08:01:23 version 1.374, 2020/10/18 10:44:25
Line 1958  purge_cached_realpaths(void)
Line 1958  purge_cached_realpaths(void)
 {  {
     GNode *cache = get_cached_realpaths();      GNode *cache = get_cached_realpaths();
     Hash_Entry *he, *nhe;      Hash_Entry *he, *nhe;
     Hash_Search hs;      HashIter hi;
   
     he = Hash_EnumFirst(&cache->context, &hs);      HashIter_Init(&hi, &cache->context);
     while (he) {      he = HashIter_Next(&hi);
         nhe = Hash_EnumNext(&hs);      while (he != NULL) {
           nhe = HashIter_Next(&hi);
         if (he->name[0] != '/') {          if (he->name[0] != '/') {
             if (DEBUG(DIR))              if (DEBUG(DIR))
                 fprintf(stderr, "cached_realpath: purging %s\n", he->name);                  fprintf(stderr, "cached_realpath: purging %s\n", he->name);

Legend:
Removed from v.1.373  
changed lines
  Added in v.1.374

CVSweb <webmaster@jp.NetBSD.org>