Spacing
This commit is contained in:
parent
7a1dd2588d
commit
1bacceddf0
11 changed files with 34 additions and 1 deletions
|
@ -347,6 +347,7 @@ MRB_METHOD(fileEachLine)
|
|||
while (feof(f) == 0)
|
||||
{
|
||||
GUARD_ERRNO( readLine(f, buffer); )
|
||||
|
||||
if (buffer.empty() && feof(f) != 0)
|
||||
break;
|
||||
|
||||
|
@ -373,6 +374,7 @@ MRB_METHOD(fileEachByte)
|
|||
while (feof(f) == 0)
|
||||
{
|
||||
mrb_int byte = fgetc(f);
|
||||
|
||||
if (byte == -1)
|
||||
break;
|
||||
|
||||
|
@ -473,6 +475,7 @@ MRB_METHOD(fileReadLines)
|
|||
while (feof(f) == 0)
|
||||
{
|
||||
GUARD_ERRNO( readLine(f, buffer); )
|
||||
|
||||
if (buffer.empty() && feof(f) != 0)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue