Commit 54832f74 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Updating comment.

Change-Id: I61114423e394561e6838e8ab262f0045892ac2c5
parent 1d674588
......@@ -442,6 +442,8 @@ int vtkSTLReader::ReadASCIISTL(FILE *fp, vtkPoints *newPts,
{
if (!fgets(line, 255, fp))
{
// if fgets() returns an error, it may be due to the fact that the EOF
// is reached (BUG #13101) hence we test again.
done = feof(fp);
if (!done)
{
......
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