diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-19 17:28:46 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-19 17:28:46 +0000 |
commit | f6b056d7447686ec8d18d3a251e447cc227c0192 (patch) | |
tree | 7b83cda165780e27d00d94e39359d2d24d04cccf /gcc/cppfiles.c | |
parent | 6da65e4ee66c8819627553fc6752fbbbfce02c4f (diff) | |
download | gcc-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.c | 6 |
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; |