mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 14:04:59 +02:00
1-17 C2
This commit is contained in:
parent
e642fa78ec
commit
118d457d39
@ -191,6 +191,12 @@ int fileio_ReadFileEx(struct w32_io* pio) {
|
||||
int fileio_read(struct w32_io* pio, void *dst, unsigned int max) {
|
||||
int bytes_copied;
|
||||
|
||||
//if read is pending
|
||||
if (pio->read_details.pending) {
|
||||
errno = EAGAIN;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (fileio_is_io_available(pio, TRUE) == FALSE)
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user