OSDN Git Service

* config/darwin-c.c (add_framework): Copy the directory name as it
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2004 18:25:52 +0000 (18:25 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 2004 18:25:52 +0000 (18:25 +0000)
commitd6c39c7a53f108fa9b43ccee34cd7dd78de2df39
treec90d3529878cc7887b1b4e333bac9bb10c41467a
parent0a24f9a7bcce8db4d983cbd2dfdffca440f712d6
* config/darwin-c.c (add_framework): Copy the directory name as it
can be freed later.  Also, ensure we always allocate enough room
for the cached framework information.
(find_subframework_header): Keep track of the directory where the
subframework header was found.
(framework_construct_pathname): Speed up by not trying to re-add a
framework.
* cppfiles.c (search_path_exhausted): Arrange for the missing
header callback to be able to set the directory where the header
was found.
(cpp_get_dir): Add.
* cpplib.h (missing_header_cb): Add a parameter.
(cpp_get_dir): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81534 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin-c.c
gcc/cppfiles.c
gcc/cpplib.h