server: Improve returned value in member WriteQuotaAvailable.
Cygwin/MSYS2 in version 3.5.4 or later relies in having the WriteQuotaAvailable member of a NtQueryInformationFile(FilePipeLocalInformation) filled with a non-zero value.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57424
A bisect of cygwin1.dll led to this commit:
49018bf5774fc90ddddc762a8462030c5d528643 is the first broken commit
commit 49018bf5774fc90ddddc762a8462030c5d528643
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date: Mon Jul 1 17:44:53 2024 +0900
Cygwin: pty: Avoid client deadlock when pty master stops to read.
cygwin commit cygwin-3_5-branch
Installing cygwin/msys2 and reproducing this issue might need also the last patches from bug #55138 and #53574.
Edited by Bernhard Übelacker