+ // Short write (e.g. due to an unfortunately timed SIGINT) - not
+ // an error. Adjust remaining write length and buffer and start again.
C++-style comments are not permitted in Wine, use /**/ instead.
You'll need to add a Signed-off-by line to your patch as well (same goes for your other patch).
Kind regards,
Gijs