Skip to content

Set type of POSIX_SPAWN_* flags to c_short#3629

Merged
JohnTitor merged 1 commit into
rust-lang:mainfrom
samueltardieu:issue-3627
Apr 29, 2024
Merged

Set type of POSIX_SPAWN_* flags to c_short#3629
JohnTitor merged 1 commit into
rust-lang:mainfrom
samueltardieu:issue-3627

Conversation

@samueltardieu

Copy link
Copy Markdown
Member

Changing the type from c_int to c_short will likely not break existing programs. It might introduce warnings about no-longer needed conversions to c_short though.

Fixes #3627

@rustbot

rustbot commented Mar 23, 2024

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot

rustbot commented Mar 23, 2024

Copy link
Copy Markdown
Collaborator

Some changes occurred in OpenBSD module

cc @semarie

@samueltardieu

Copy link
Copy Markdown
Member Author

Docker failure is unrelated

@semarie semarie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for OpenBSD. thanks.

Changing the type from `c_int` to `c_short` will likely not break existing
programs. It might introduce warnings about no-longer needed
conversions to `c_short` though.
@JohnTitor JohnTitor added this pull request to the merge queue Apr 29, 2024
Merged via the queue into rust-lang:main with commit e6673b0 Apr 29, 2024
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 17, 2024
These were changed in f62eb02 ("Set type of POSIX_SPAWN_* flags to
c_short"). PR: <rust-lang#3629>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POSIX_SPAWN_* flags have incorrect type

5 participants