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

Change the "endmarker" logic of the SSHRemoteIO shell #90

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

mih
Copy link
Member

@mih mih commented Sep 21, 2023

The previous implementation did not make sure that an endmarker (that is
expected to occur on a dedicated line) could be dedicated. This was
because a command whose output did not end with a newline would leave
residual content that prevented this detection.

This changeset modifies the nature of the endmarker such that a newline
is unconditionally present.

Closes #86
Closes #87

The previous implementation did not make sure that an endmarker (that is
expected to occur on a dedicated line) could be dedicated. This was
because a command whose output did not end with a newline would leave
residual content that prevented this detection.

This changeset modifies the nature of the endmarker such that a newline
is unconditionally present.

Closes #86
Closes #87
@mih mih merged commit 30c3fd9 into main Sep 21, 2023
3 checks passed
@mih mih deleted the bf-newlines branch September 21, 2023 13:27
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.

SSHRemoteIO endmarker logic flawed SSHRemoteIO.read_file() unreliable with missing newline
1 participant