diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2008-05-30 00:57:56 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2008-05-30 00:57:56 +0000 |
commit | c100de59ebf2f118ce0757c475b078b6f62d4017 (patch) | |
tree | 35dcdd0c466cec159fe8d590dfb3a71beab2939f /libcpp | |
parent | 6551374ace72044a13edb955ff95b89aafe96029 (diff) | |
download | gcc-c100de59ebf2f118ce0757c475b078b6f62d4017.tar.gz |
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
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 4 | ||||
-rw-r--r-- | libcpp/include/cpplib.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7f31ff4e79a..6df683eee91 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,7 @@ +2008-05-30 Danny Smith <dannysmith@users.sourceforge.net> + + * include/cpplib.h (struct cpp_dir): Add new field, canonical_name. + 2008-05-21 Tom Tromey <tromey@redhat.com> PR preprocessor/27777: diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index 76288a9068c..92ab291db2c 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; |