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

Produce the correct output when the sinfo command fails #24992

Merged
merged 1 commit into from
May 20, 2024

Conversation

jhh67
Copy link
Contributor

@jhh67 jhh67 commented May 3, 2024

The strsep function modifies the buffer it is given, so make a copy of the buffer before calling strsep so that we can include the output in an error message if the buffer cannot be parsed.

The strsep function modifies the buffer it is given, so make a copy of the
buffer before calling strsep so that we can include the output in an
error message if the buffer cannot be parsed.

Signed-off-by: John H. Hartman <jhh67@users.noreply.github.com>
@jhh67 jhh67 requested a review from jabraham17 May 3, 2024 21:34
@jhh67 jhh67 merged commit b43a7a1 into chapel-lang:main May 20, 2024
7 checks passed
@jhh67 jhh67 deleted the strsep branch May 20, 2024 18:50
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.

None yet

2 participants