Commit 6f3d20a0 by Neil Booth Committed by Neil Booth

cppfiles.c (read_include_file): Take no special action for zero-length files.

        * cppfiles.c (read_include_file): Take no special action for
        zero-length files.

From-SVN: r36539
parent afc6898e
Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
* cppfiles.c (read_include_file): Take no special action for
zero-length files.
2000-09-19 Bernd Schmidt <bernds@redhat.co.uk> 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
* final.c (insn_current_reference_address): Use INSN_SHUID of seq * final.c (insn_current_reference_address): Use INSN_SHUID of seq
......
...@@ -331,12 +331,6 @@ read_include_file (pfile, inc) ...@@ -331,12 +331,6 @@ read_include_file (pfile, inc)
if (count < 0) if (count < 0)
goto perror_fail; goto perror_fail;
if (offset == 0)
{
free (buf);
return 0;
}
if (offset < size) if (offset < size)
buf = xrealloc (buf, offset); buf = xrealloc (buf, offset);
inc->st.st_size = offset; inc->st.st_size = offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment