Skip to content

Commit

Permalink
Update std/stdio.d
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Backus <snarwin@gmail.com>
  • Loading branch information
LightBender and pbackus authored Oct 27, 2024
1 parent b2a4047 commit f559fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -4683,7 +4683,7 @@ private void _rawWrite(T)(FILE* handle, in T[] buffer, string name = null)
if (.ferror(handle) && errno != EAGAIN)
break;
}
while(result < buffer.length);
while (result < buffer.length);

if (result == result.max) result = 0;
errnoEnforce(result == buffer.length,
Expand Down

0 comments on commit f559fa3

Please sign in to comment.