mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 15:22:06 +02:00
Fix sporadic test suite failures caused by greedy whitespace removal in token
reader. Update read code to handle signal/temporary failures. Add some more useful debug messages for the encryption code. Eliminate more warnings from Clang.
This commit is contained in:
@@ -329,6 +329,11 @@ _pdfioFileRead(pdfio_file_t *pdf, // I - PDF file
|
||||
pdf->bufpos += rbytes;
|
||||
continue;
|
||||
}
|
||||
else if (rbytes < 0 && (errno == EINTR || errno == EAGAIN))
|
||||
{
|
||||
rbytes = 0;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user