From f2225b1adbc6f778afbd40722f0d40f7614fdb47 Mon Sep 17 00:00:00 2001 From: jakub Date: Tue, 1 Apr 2008 10:58:02 +0000 Subject: PR pch/13675 * files.c (struct _cpp_file): Remove pch field. (pch_open_file): Don't set file->pch, just file->pchname. (should_stack_file): After pfile->cb.read_pch call free pchname and clear pchname, don't close file->fd. Test file->pchname instead of file->pch. Don't close fd after cb. (_cpp_stack_include): Test file->pchname instead of file->pch. * c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133790 138bc75d-0d04-0410-961f-82ee72b054a4 --- libcpp/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libcpp/ChangeLog') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 0b3ce8b3a0c..e8719d931e1 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,13 @@ +2008-04-01 Jakub Jelinek + + PR pch/13675 + * files.c (struct _cpp_file): Remove pch field. + (pch_open_file): Don't set file->pch, just file->pchname. + (should_stack_file): After pfile->cb.read_pch call + free pchname and clear pchname, don't close file->fd. + Test file->pchname instead of file->pch. Don't close fd after cb. + (_cpp_stack_include): Test file->pchname instead of file->pch. + 2008-03-28 Tom Tromey * Makefile.in (POSTCOMPILE): New variable. -- cgit v1.2.3