Skip to content

POSIX_SPAWN_SETPGROUP et al should be of type c_short #2268

Description

@godmar

The constants POSIX_SPAWN_* are for the __flags field in posix_spawnattr_t and are set via posix_spawnattr_setflags, both of which use c_short.

Should they be of type c_short as well?

Activity

  1. tgross35 commented on Aug 29, 2024

    @tgross35
    Member

    I was thinking this was a case like #1619, where the struct takes a short but the signature takes an int. However, this seems to be a case where the function and the struct are both short - are there any counterexamples?

    If not, we can do this for 1.0.

  2. added this to the 1.0 milestone on Aug 29, 2024
  3. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    E-mediumE-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
    on Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mediumE-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.breakage-candidate

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions