summaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 17:28:46 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 17:28:46 +0000
commitf6b056d7447686ec8d18d3a251e447cc227c0192 (patch)
tree7b83cda165780e27d00d94e39359d2d24d04cccf /gcc/cppfiles.c
parent6da65e4ee66c8819627553fc6752fbbbfce02c4f (diff)
downloadgcc-f6b056d7447686ec8d18d3a251e447cc227c0192.tar.gz
* cppfiles.c (read_include_file): Take no special action for
zero-length files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index ffb46d26b1f..697ea1b56f5 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -331,12 +331,6 @@ read_include_file (pfile, inc)
if (count < 0)
goto perror_fail;
- if (offset == 0)
- {
- free (buf);
- return 0;
- }
-
if (offset < size)
buf = xrealloc (buf, offset);
inc->st.st_size = offset;