Changeset 1867 for trunk/src/kmk/read.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/read.c

    r1863 r1867  
    22982298
    22992299      nextf = filenames->next;
     2300#ifndef CONFIG_WITH_ALLOC_CACHES
    23002301      free (filenames);
     2302#else
     2303      alloccache_free (&nameseq_cache, filenames);
     2304#endif
    23012305
    23022306      /* If it's a pattern target, then add it to the pattern-specific
     
    24292433  if (commands_idx > 0)
    24302434    {
     2435#ifndef CONFIG_WITH_ALLOC_CACHES
    24312436      cmds = xmalloc (sizeof (struct commands));
     2437#else
     2438      cmds = alloccache_alloc (&commands_cache);
     2439#endif
    24322440      cmds->fileinfo.filenm = flocp->filenm;
    24332441      cmds->fileinfo.lineno = cmds_started;
Note: See TracChangeset for help on using the changeset viewer.