Changeset 1793 for trunk/src/kmk/file.c


Ignore:
Timestamp:
Sep 20, 2008, 1:30:50 AM (17 years ago)
Author:
bird
Message:

kmk: hash table adjustments.

File:
1 edited

Legend:

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

    r1751 r1793  
    194194  if (second_target_expansion && strchr (name, '$') != NULL)
    195195    new->need_2nd_target_expansion = 1;
    196 #endif 
     196#endif
    197197
    198198  return new;
     
    344344/* Performs secondary target name expansion and then renames
    345345   the file using rename_file. */
    346 static void 
     346static void
    347347do_2nd_target_expansion (struct file *f)
    348348{
     
    695695# ifdef KMK
    696696      warn_undefined_variables_flag = save;
    697 # endif 
    698    
     697# endif
     698
    699699      /* Disable second target expansion now since we won't expand files
    700700         entered after this point. (saves CPU cycles in enter_file()). */
     
    11921192{
    11931193#ifdef KMK
    1194   hash_init (&files, 8192, file_hash_1, file_hash_2, file_hash_cmp);
     1194  hash_init (&files, /*65535*/ 32755, file_hash_1, file_hash_2, file_hash_cmp);
    11951195#else
    11961196  hash_init (&files, 1000, file_hash_1, file_hash_2, file_hash_cmp);
Note: See TracChangeset for help on using the changeset viewer.