mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00
Tests/LibCore: Enable several tests in Windows CI
These are the set of tests that were already building and passing with little to no modifications required.
This commit is contained in:
parent
cd15b1a2c9
commit
9d7971c111
Notes:
github-actions[bot]
2025-08-07 02:26:35 +00:00
Author: https://github.com/ayeteadoe
Commit: 9d7971c111
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5435
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
5 changed files with 26 additions and 11 deletions
|
@ -217,6 +217,9 @@ int getpid()
|
|||
|
||||
ErrorOr<int> dup(int handle)
|
||||
{
|
||||
if (handle < 0) {
|
||||
return Error::from_windows_error(ERROR_INVALID_HANDLE);
|
||||
}
|
||||
if (is_socket(handle)) {
|
||||
WSAPROTOCOL_INFO pi = {};
|
||||
if (WSADuplicateSocket(handle, GetCurrentProcessId(), &pi))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue