xstack bump to 512

This commit is contained in:
rumbledethumps
2024-02-17 15:47:51 -08:00
parent b8b263b38c
commit f42e6a26b2
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ int __fastcall__ read (int fildes, void* buf, unsigned count)
{
int total = 0;
while (count) {
unsigned blockcount = (count > 256) ? 256 : count;
unsigned blockcount = (count > 512) ? 512 : count;
int bytes_read = read_xstack (&((char*)buf)[total], blockcount, fildes);
if (bytes_read < 0) {
return bytes_read;