Skip to content

Commit

Permalink
Fix Issue 13893 - rawRead must take a non-empty buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
vali0901 committed Jul 23, 2022
1 parent 85b47bc commit 1d16213
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 @@ -1218,7 +1218,7 @@ Throws: `ErrnoException` if the file is not opened or the call to `fread` fails.
File f;
ubyte[0] u;
assertNotThrown(f.rawRead(u));
}
}

/**
Calls $(HTTP cplusplus.com/reference/clibrary/cstdio/fwrite.html, fwrite) for the file
Expand Down

0 comments on commit 1d16213

Please sign in to comment.