Ignore:
Timestamp:
Jun 5, 2020, 6:17:17 PM (5 years ago)
Author:
bird
Message:

kmk,kFsCache: Added variant of kFsCacheInvalidateAll that also closes directory handles, we need to do this befor ere-executing kmk after having remake some include file we needed. It messes up fetching otherwise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r3351 r3359  
    57625762        O (error, reading_file, "$(dircache-ctl invalidate) takes no parameters");
    57635763      dir_cache_invalid_all ();
     5764    }
     5765  else if (strcmp (cmd, "invalidate-and-close-dirs") == 0)
     5766    {
     5767      if (argv[1] != NULL)
     5768        O (error, reading_file, "$(dircache-ctl invalidate) takes no parameters");
     5769      dir_cache_invalid_all_and_close_dirs (0 /*including_root*/);
    57645770    }
    57655771  else if (strcmp (cmd, "invalidate-missing") == 0)
Note: See TracChangeset for help on using the changeset viewer.