mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
On Windows fsync and fdatasync of a pipe descriptor answered EBADF for the read end and 0 for the write end. FreeBSD 11.4 kern_fsync reaches the descriptor through getvnode, which fails a descriptor that is not a vnode with EINVAL. NativeSync now refuses a pipe handle with EINVAL before it commits. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>