Skip to content

vendor: moby/term, Azure/go-ansiterm for golang.org/x/sys/windows compatibility#42508

Merged
cpuguy83 merged 1 commit into
moby:masterfrom
thaJeztah:bump_term_ansiterm
Jul 2, 2021
Merged

vendor: moby/term, Azure/go-ansiterm for golang.org/x/sys/windows compatibility#42508
cpuguy83 merged 1 commit into
moby:masterfrom
thaJeztah:bump_term_ansiterm

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Jun 10, 2021

Copy link
Copy Markdown
Member

Relates to:

Changes:

  • winterm: GetStdFile(): Added compatibility with "golang.org/x/sys/windows"
  • winterm: fix GetStdFile() falltrough
  • update deprecation message to refer to the correct replacement
  • add go.mod
  • Fix int overflow
  • Convert int to string using rune()

full diff:

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah

Copy link
Copy Markdown
Member Author

Failure is unrelated

@thaJeztah

Copy link
Copy Markdown
Member Author

I'll update once moby/term#29 is merged

…patibility

- winterm: GetStdFile(): Added compatibility with "golang.org/x/sys/windows"
- winterm: fix GetStdFile() falltrough
- update deprecation message to refer to the correct replacement
- add go.mod
- Fix int overflow
- Convert int to string using rune()

full diff:

- moby/term@bea5bbe...3f7ff69
- Azure/go-ansiterm@d6e3b33...d185dfc

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
thaJeztah force-pushed the bump_term_ansiterm branch from ef88b4a to af1e745 Compare June 21, 2021 11:26
@thaJeztah

Copy link
Copy Markdown
Member Author

I'll update once moby/term#29 is merged

Updated 👍

@thaJeztah

Copy link
Copy Markdown
Member Author

@cpuguy83 @AkihiroSuda PTAL

@thaJeztah

Copy link
Copy Markdown
Member Author

@cpuguy83 PTAL

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@cpuguy83
cpuguy83 merged commit 45b45ad into moby:master Jul 2, 2021
@thaJeztah
thaJeztah deleted the bump_term_ansiterm branch July 2, 2021 19:46
@AJDurant

AJDurant commented Sep 3, 2021

Copy link
Copy Markdown

This was backported to 20.10.8 for the docker cli, but not for moby/dockerd, which prevents registering the service from a legacy cli. Can it go into the next 20.10.x release?

e.g.:

dockerd.exe --register-service
panic: Invalid standard handle identifier: 4294967286

@iiboys

This comment was marked as spam.

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.

5 participants