Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3206: posixlib unistd and monetary use new CVarArgs support #3209

Merged
merged 1 commit into from Mar 10, 2023

Conversation

LeeTibbert
Copy link
Contributor

@LeeTibbert LeeTibbert commented Mar 9, 2023

Fix #3206

Two posixlib files now use the new CVarArgs (...) support. unistd.scala now defines three
previously missing execl*() methods. Workaround code was removed from monetary.scala.

Backport: This PR depends upon, and owes a debt of gratitude to, PR #3204. If that PR
gets backported, then this PR becomes eligible for backport.

Testing:

  1. MonetaryTest passes.

  2. All of the posixlib exec*() methods are difficult to test in the SN unit-tests environment.
    I wrote a small private program to exercise execl before I submitted this PR. It passes.

    Later: To quell my anxieties, I extended this private program to additionally exercise both execlp
    and execle. Now all three pass locally.

@WojciechMazur WojciechMazur merged commit c8d49d8 into scala-native:main Mar 10, 2023
WojciechMazur pushed a commit to WojciechMazur/scala-native that referenced this pull request Mar 14, 2023
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.

New CVarArgs support should lead to several improvements in posixlib
2 participants