Skip to content

Refactor handle inheritance logic in process.c#310

Merged
waruqi merged 5 commits intotboox:devfrom
luadebug:win7
Feb 23, 2026
Merged

Refactor handle inheritance logic in process.c#310
waruqi merged 5 commits intotboox:devfrom
luadebug:win7

Conversation

@luadebug
Copy link
Contributor

@luadebug luadebug commented Feb 22, 2026

Just test xmake-io/xmake#7330
This probably requires testing but I don't know how to test this stuff so.

@luadebug luadebug marked this pull request as draft February 22, 2026 16:27
@luadebug luadebug marked this pull request as ready for review February 22, 2026 16:38

static tb_bool_t tb_process_is_inheritable_handle(HANDLE handle)
{
if (!handle || handle == INVALID_HANDLE_VALUE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use tb_check_return_val

@waruqi
Copy link
Member

waruqi commented Feb 23, 2026

Just test xmake-io/xmake#7330 This probably requires testing but I don't know how to test this stuff so.

We can only test it in xmake.

@waruqi waruqi merged commit d0138aa into tboox:dev Feb 23, 2026
19 checks passed
@luadebug luadebug deleted the win7 branch February 23, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants