On Windows it seems sending to port 0 does nothing and does not error.
Presently sendmsg errors with EINVAL.
This works around it, by checking if it's port 0 then skipping the data.
--
v10: ntdll: Do not send data to port 0.
ws2_32/tests: Check if sending to port 0 succeeds.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2100
On Windows it seems sending to port 0 does nothing and does not error.
Presently sendmsg errors with EINVAL.
This works around it, by checking if it's port 0 then skipping the data.
--
v12: ntdll: Do not send data to port 0.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2100
While running in XCode's profiler, I noticed memory leaks when safearrays were used in `For Each` statements.
The following code would leak a safearray allocation:
```
For Each obj In vpDict.Keys : Debug.Print "Key" : Next
```
This following code does not leak:
```
Dim x
x = vpDict.Keys
For Each obj In x : Debug.Print "Key" : Next
```
Fixes: https://bugs.winehq.org/show_bug.cgi?id=54456
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2141
On Wed Feb 8 21:41:13 2023 +0000, Alex Henrie wrote:
> I thought we still cared about XP and later (that's what the testbot
> supports). Has that changed?
WTB might support XP and Vista but those aren't part of the default test set.
Nor are they shown on https://test.winehq.org/data/ .
The winetest/dissect utility though doesn't marks them as prediluvian.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2128#note_23521