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
This commit is contained in:
Neil Booth 2000-09-19 17:28:46 +00:00 committed by Neil Booth
parent afc6898e10
commit 6f3d20a022
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
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>
* final.c (insn_current_reference_address): Use INSN_SHUID of seq

View File

@ -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;