Changeset 1980 in kBuild for trunk/src/kmk/dir.c
- Timestamp:
- Oct 27, 2008 11:25:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/dir.c
r1941 r1980 220 220 #ifndef DIRECTORY_BUCKETS 221 221 #ifdef KMK 222 # define DIRECTORY_BUCKETS 4096222 # define DIRECTORY_BUCKETS 4096 223 223 # else 224 # define DIRECTORY_BUCKETS 199224 # define DIRECTORY_BUCKETS 199 225 225 # endif 226 226 #endif … … 1016 1016 #endif 1017 1017 memset (dir->contents, '\0', sizeof (struct directory_contents)); 1018 1019 1018 } 1020 1019 … … 1239 1238 files += f; 1240 1239 impossible += im; 1241 1242 1240 #ifdef KMK 1243 1241 fputs ("# ", stdout); … … 1391 1389 gl->gl_closedir = ansi_free; 1392 1390 gl->gl_stat = local_stat; 1393 #ifdef __EMX__ /* The FreeBSD implemen ation actually uses gl_lstat!! */1391 #ifdef __EMX__ /* The FreeBSD implementation actually uses gl_lstat!! */ 1394 1392 gl->gl_lstat = local_stat; 1395 1393 #endif … … 1404 1402 hash_init (&directories, DIRECTORY_BUCKETS, 1405 1403 directory_hash_1, directory_hash_2, directory_hash_cmp); 1406 #else /* */1404 #else /* CONFIG_WITH_STRCACHE2 */ 1407 1405 hash_init_strcached (&directories, DIRECTORY_BUCKETS, &file_strcache, 1408 1406 offsetof (struct directory, name)); 1409 #endif /* */1407 #endif /* CONFIG_WITH_STRCACHE2 */ 1410 1408 hash_init (&directory_contents, DIRECTORY_BUCKETS, 1411 1409 directory_contents_hash_1, directory_contents_hash_2, … … 1418 1416 alloccache_init (&dirfile_cache, sizeof (struct dirfile), 1419 1417 "dirfile", NULL, NULL); 1420 #endif 1421 } 1418 #endif /* CONFIG_WITH_ALLOC_CACHES */ 1419 }
Note:
See TracChangeset
for help on using the changeset viewer.