Ignore:
Timestamp:
Oct 17, 2008, 4:06:50 AM (17 years ago)
Author:
bird
Message:

two strcache_add optimizations.

File:
1 edited

Legend:

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

    r1864 r1882  
    922922      memcpy (sp + dirlen, stem, stemlen);
    923923      sp[fullstemlen] = '\0';
     924#ifndef CONFIG_WITH_VALUE_LENGTH
    924925      file->stem = strcache_add (sp);
     926#else
     927      file->stem = strcache_add_len (sp, fullstemlen);
     928#endif
    925929    }
    926930
Note: See TracChangeset for help on using the changeset viewer.