mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
nt lseek, error with ESPIPE when attempting on socket
This commit is contained in:
parent
e046530eb6
commit
023a3faeb1
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ textwindows int64_t sys_lseek_nt(int fd, int64_t offset, int whence) {
|
|||
} else {
|
||||
return espipe();
|
||||
}
|
||||
} else if (__isfdkind(fd, kFdSocket)) {
|
||||
return espipe();
|
||||
} else {
|
||||
return ebadf();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue