dpatel 02/12/17 14:37:44 Modified: live/gcc3/gcc cppfiles.c Log: Bring last bug fix for Steve's new header search mechanism from fearless-kitty-branch Bug #: Revision Changes Path 1.56 +2 -1 src/live/gcc3/gcc/cppfiles.c Index: cppfiles.c =================================================================== RCS file: /cvs/Darwin/src/live/gcc3/gcc/cppfiles.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- cppfiles.c 2002/12/08 00:37:43 1.55 +++ cppfiles.c 2002/12/17 22:37:44 1.56 @@ -1703,7 +1703,8 @@ { if (directory_entry->d_name[0] == '.') // for now, assume headers cannot begin with "." continue; - else if (directory_entry->d_type == DT_REG || directory_entry->d_type == DT_DIR) + else if (directory_entry->d_type == DT_REG || directory_entry->d_type == DT_DIR || + directory_entry->d_type == DT_UNKNOWN) /* for symbolic links */ { struct hashed_entry **slot, *entry; slot = (struct hashed_entry **)htab_find_slot_with_hash (includehash, directory_entry->d_name,