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
This commit is contained in:
Danny Smith 2008-05-30 00:57:56 +00:00 committed by Danny Smith
parent 6551374ace
commit c100de59eb
4 changed files with 22 additions and 4 deletions

View file

@ -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;