Changeset 1867 for trunk/src/kmk/rule.c


Ignore:
Timestamp:
Oct 15, 2008, 3:28:32 AM (17 years ago)
Author:
bird
Message:

kmk: commands and file allocation caches.

File:
1 edited

Legend:

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

    r1863 r1867  
    393393    {
    394394      r->terminal = terminal;
     395#ifndef CONFIG_WITH_ALLOC_CACHES
    395396      r->cmds = xmalloc (sizeof (struct commands));
     397#else
     398      r->cmds = alloccache_alloc (&commands_cache);
     399#endif
    396400      r->cmds->fileinfo.filenm = 0;
    397401      r->cmds->fileinfo.lineno = 0;
Note: See TracChangeset for help on using the changeset viewer.