From c100de59ebf2f118ce0757c475b078b6f62d4017 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Fri, 30 May 2008 00:57:56 +0000 Subject: cpplib.h (struct cpp_dir): Add new field, canonical_name. libcpp/ChangeLog * include/cpplib.h (struct cpp_dir): Add new field, canonical_name. gcc/ChangeLog * incpath.c: Use HOST_LACKS_INODE_NUMBERS conditional rather than OS names to choose INO_T_EQ definition. (DIRS_EQ) [!INO_T_EQ]: Don't worry about case in comparison. (add_path) [!INO_T_EQ]: Use lrealpath to fill canonical_name field. From-SVN: r136196 --- libcpp/include/cpplib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcpp/include/cpplib.h') diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 76288a9..92ab291 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -508,6 +508,10 @@ struct cpp_dir char *name; unsigned int len; + /* The canonicalized NAME as determined by lrealpath. This field + is only used by hosts that lack reliable inode numbers. */ + char *canonical_name; + /* One if a system header, two if a system header that has extern "C" guards for C++. */ unsigned char sysp; -- cgit v1.1